summaryrefslogtreecommitdiff
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 34e9d495bd..e057c77fa1 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)
{
int8_t result = 0;
-#ifdef USB_NKRO_ENABLE
+#ifdef NKRO_ENABLE
if (keyboard_nkro)
result = send_report(report, KBD2_ENDPOINT, 0, KBD2_REPORT_KEYS);
else
@@ -105,7 +105,7 @@ static inline int8_t send_report(report_keyboard_t *report, uint8_t endpoint, ui
UENUM = endpoint;
}
UEDATX = report->mods;
-#ifdef USB_NKRO_ENABLE
+#ifdef NKRO_ENABLE
if (!keyboard_nkro)
UEDATX = 0;
#else