aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/pjrc/usb_keyboard.c
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-01-03 12:02:48 +0900
committertmk <hasu@tmk-kbd.com>2015-01-03 12:09:41 +0900
commit06527bde4f873ffc6eb8e359fb3b150e880b89ba (patch)
tree347b6886dc485091ff5ffcf211ab87b3c9ceda43 /protocol/pjrc/usb_keyboard.c
parent22d99f26af757c0bedb31ba3f63d793e4b2d4ca3 (diff)
downloadfirmware-06527bde4f873ffc6eb8e359fb3b150e880b89ba.tar.gz
firmware-06527bde4f873ffc6eb8e359fb3b150e880b89ba.tar.bz2
firmware-06527bde4f873ffc6eb8e359fb3b150e880b89ba.zip
bluefruit, pjrc: Update protocols for new API
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 758a4edc6..4b87b5d7b 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");
}