summaryrefslogtreecommitdiff
path: root/hid/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hid/src/main.cpp')
-rw-r--r--hid/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index 631925f0..ba26be5c 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -19,7 +19,7 @@ INLINE void cmdResetHid() {
INLINE void cmdKeyEvent() {
uint8_t state = CMD_SERIAL.read();
- uint8_t code = keymap(CMD_SERIAL.read());
+ KeyboardKeycode code = keymap((uint8_t)CMD_SERIAL.read());
CMD_SERIAL.read(); // unused now
if (code) {
if (state) {