Skip to content

Commit 4cf9c2a

Browse files
committed
Revert changes not compatible with GCC 7.4 in /daemon
1 parent 288c788 commit 4cf9c2a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

daemon/src/hardware/led_drive.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using namespace deadeye;
44

55
#ifdef __aarch64__
6+
#include <cassert>
67
using namespace gpiod;
78

89
LedDrive::LedDrive(int inum) {

daemon/src/hardware/led_drive.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace deadeye {
88

99
class LedDrive {
1010
public:
11-
explicit LedDrive([[maybe_unused]] int inum);
11+
explicit LedDrive(int inum);
1212

1313
void On();
1414
void Off();

daemon/src/pipeline/runner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void Runner::Run() {
5858

5959
// Set up streaming. CScore streaming will hang on connection if too many
6060
// connections are attempted, current workaround is for user to disable and
61-
// reenable the stream to reset.
61+
// re-enable the stream to reset.
6262
Streamer streamer(pipeline_.get(), capture_config_.Size());
6363
bool stream_enabled{false};
6464

@@ -129,7 +129,7 @@ void Runner::Run() {
129129

130130
if (stream_enabled) streamer.Process(frame, target_data.get());
131131

132-
// Log frame if neccessary
132+
// Log frame if necessary
133133
if (log_enabled && --log_counter == 0) {
134134
logger->Log(frame, pipeline_->GetFilteredContours(),
135135
std::move(target_data));

0 commit comments

Comments
 (0)