Minor edits

This commit is contained in:
2022-07-20 21:26:06 -07:00
parent f450a88e91
commit 65b5bb6400
3 changed files with 16 additions and 5 deletions

View File

@ -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;
}