aboutsummaryrefslogtreecommitdiff
path: root/pjrc/usb_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjrc/usb_keyboard.c')
-rw-r--r--pjrc/usb_keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjrc/usb_keyboard.c b/pjrc/usb_keyboard.c
index 34e9d495b..e057c77fa 100644
--- a/pjrc/usb_keyboard.c
+++ b/pjrc/usb_keyboard.c
@@ -55,7 +55,7 @@ int8_t usb_keyboard_send_report(report_keyboard_t *report)
55{ 55{
56 int8_t result = 0; 56 int8_t result = 0;
57 57
58#ifdef USB_NKRO_ENABLE 58#ifdef NKRO_ENABLE
59 if (keyboard_nkro) 59 if (keyboard_nkro)
60 result = send_report(report, KBD2_ENDPOINT, 0, KBD2_REPORT_KEYS); 60 result = send_report(report, KBD2_ENDPOINT, 0, KBD2_REPORT_KEYS);
61 else 61 else
@@ -105,7 +105,7 @@ static inline int8_t send_report(report_keyboard_t *report, uint8_t endpoint, ui
105 UENUM = endpoint; 105 UENUM = endpoint;
106 } 106 }
107 UEDATX = report->mods; 107 UEDATX = report->mods;
108#ifdef USB_NKRO_ENABLE 108#ifdef NKRO_ENABLE
109 if (!keyboard_nkro) 109 if (!keyboard_nkro)
110 UEDATX = 0; 110 UEDATX = 0;
111#else 111#else