Skip to content

Commit

Permalink
Don't warn for unrecognized "Log" NT entry change in daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
jhh committed Jan 31, 2024
1 parent e179090 commit 761de91
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions daemon/src/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#define DE_CAPTURE_CONFIG_ENTRY(inum) DE_CONFIG_TABLE "/" inum "/" DE_CAPTURE
#define DE_PIPELINE_CONFIG_ENTRY(inum) DE_CONFIG_TABLE "/" inum "/" DE_PIPELINE
#define DE_STREAM_CONFIG_ENTRY(inum) DE_CONFIG_TABLE "/" inum "/" DE_STREAM
#define DE_LOG_ENTRY(inum) DE_CONFIG_TABLE "/" inum "/" DE_LOG
#define DE_LINK_ENTRY "/" DE_DEADEYE_TABLE "/" DE_LINK

#define DEADEYE_CLIENT_PORT @DEADEYE_CLIENT_PORT@
Expand Down
16 changes: 16 additions & 0 deletions daemon/src/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ void Controller::Run() {
Camera<0>::dispatch(event);
break;
}

case hash(DE_LOG_ENTRY("0")):
break;

//
// Camera 1 events
//
Expand Down Expand Up @@ -275,6 +279,9 @@ void Controller::Run() {
break;
}

case hash(DE_LOG_ENTRY("1")):
break;

//
// Camera 2 events
//
Expand Down Expand Up @@ -325,6 +332,9 @@ void Controller::Run() {
break;
}

case hash(DE_LOG_ENTRY("2")):
break;

//
// Camera 3 events
//
Expand Down Expand Up @@ -375,6 +385,9 @@ void Controller::Run() {
break;
}

case hash(DE_LOG_ENTRY("3")):
break;

//
// Camera 4 events
//
Expand Down Expand Up @@ -425,6 +438,9 @@ void Controller::Run() {
break;
}

case hash(DE_LOG_ENTRY("4")):
break;

case hash(DE_LINK_ENTRY):
spdlog::debug("Deadeye: {}", entry.value);
break;
Expand Down

0 comments on commit 761de91

Please sign in to comment.