From 7d995a595b5eb39cd2cdc46fbba5853cb9963ff8 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Fri, 12 Sep 2014 13:18:14 +0900 Subject: [PATCH] Fix USB 6KRO issue for AKB96 --- common/action_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/action_util.c b/common/action_util.c index de9522a0..c4ca8cfa 100644 --- a/common/action_util.c +++ b/common/action_util.c @@ -31,6 +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 #define RO_ADD(a, b) ((a + b) % REPORT_KEYS) #define RO_SUB(a, b) ((a - b + REPORT_KEYS) % REPORT_KEYS) #define RO_INC(a) RO_ADD(a, 1)