diff --git a/src/ergodox.cpp b/src/ergodox.cpp index 77c2c37..02ad164 100644 --- a/src/ergodox.cpp +++ b/src/ergodox.cpp @@ -204,7 +204,7 @@ bool Ergodox::read() { // If keyboard sends a state packet, parse it. case CMD_SEND_STATE: if (animation_mode != read_buf[1]) { - wprintf(L"Mode set to %#x\n", read_buf[1]); + wprintf(L"Mode set to 0x%02X\n", read_buf[1]); animation_mode = read_buf[1]; }