From e36e2493baa35c2a1ae15ab469b497a8c91091c3 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Wed, 10 Dec 2014 10:21:58 +0900 Subject: [PATCH] Fix 6KRO compatibility issue with NKRO --- common/action_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/action_util.c b/common/action_util.c index cb990522..ee820729 100644 --- a/common/action_util.c +++ b/common/action_util.c @@ -31,8 +31,8 @@ static uint8_t real_mods = 0; static uint8_t weak_mods = 0; #ifdef USB_6KRO_ENABLE -#undef REPORT_KEYS -#define REPORT_KEYS 6 +#undef KEYBOARD_REPORT_KEYS +#define KEYBOARD_REPORT_KEYS 6 #define RO_ADD(a, b) ((a + b) % KEYBOARD_REPORT_KEYS) #define RO_SUB(a, b) ((a - b + KEYBOARD_REPORT_KEYS) % KEYBOARD_REPORT_KEYS) #define RO_INC(a) RO_ADD(a, 1)