summaryrefslogtreecommitdiffstats
path: root/protocol/pjrc/usb_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/pjrc/usb_keyboard.c')
-rw-r--r--protocol/pjrc/usb_keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol/pjrc/usb_keyboard.c b/protocol/pjrc/usb_keyboard.c
index 758a4edc6c..4b87b5d7b5 100644
--- a/protocol/pjrc/usb_keyboard.c
+++ b/protocol/pjrc/usb_keyboard.c
@@ -74,7 +74,7 @@ void usb_keyboard_print_report(report_keyboard_t *report)
{
if (!debug_keyboard) return;
print("keys: ");
- for (int i = 0; i < REPORT_KEYS; i++) { phex(report->keys[i]); print(" "); }
+ for (int i = 0; i < KEYBOARD_REPORT_KEYS; i++) { phex(report->keys[i]); print(" "); }
print(" mods: "); phex(report->mods); print("\n");
}