Skip to content

Commit

Permalink
Change printed sensor id in GET TEST command
Browse files Browse the repository at this point in the history
Co-authored-by: Eiren Rain <Eirenliel@users.noreply.github.com>
  • Loading branch information
nekomona and Eirenliel authored Jun 4, 2023
1 parent 3fc687c commit 70b0ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serial/serialcommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ namespace SerialCommands {
sensor0->hadData ? "true" : "false"
);
if(!sensor0->hadData) {
logger.error("[TEST] Sensor 1 didn't send any data yet!");
logger.error("[TEST] Sensor[0] didn't send any data yet!");
} else {
logger.info("[TEST] Sensor 1 sent some data, looks working.");
logger.info("[TEST] Sensor[0] sent some data, looks working.");
}
}
}
Expand Down

0 comments on commit 70b0ef7

Please sign in to comment.