Minor edits
This commit is contained in:
@ -206,10 +206,9 @@ bool Ergodox::read() {
|
||||
// If keyboard sends a state packet, parse it.
|
||||
case CMD_SEND_STATE:
|
||||
if (animation_mode != read_buf[1]) {
|
||||
spdlog::info("Mode set to {0:x}", read_buf[1]);
|
||||
spdlog::info("Mode set to 0x{0:02x}", read_buf[1]);
|
||||
animation_mode = read_buf[1];
|
||||
}
|
||||
|
||||
// Main code should not parse state packets.
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user