diff options
author | Drashna Jaelre <drashna@live.com> | 2021-09-29 11:37:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 11:37:11 -0700 |
commit | 02ab7b1888e6572178543ca0b944e4fa14cdf974 (patch) | |
tree | 345253f0cd00476d31de5cd82eedc2b4354a58b9 /quantum | |
parent | 1e54796f0cf469e2c1fdd880cc288b04e7b83985 (diff) |
[Core] Fix "6kro enable" and clarify naming (#14563)
* Fix USB_6KRO_ENABLE compilation errors
* Add info to docs
* Rename define to be more accurate
* Remove unused rule
* Refixe docs
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/action_util.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/quantum/action_util.c b/quantum/action_util.c index 2b3c00cba0..9a85bd5040 100644 --- a/quantum/action_util.c +++ b/quantum/action_util.c @@ -32,16 +32,6 @@ static uint8_t weak_override_mods = 0; static uint8_t suppressed_mods = 0; #endif -#ifdef USB_6KRO_ENABLE -# 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) -# define RO_DEC(a) RO_SUB(a, 1) -static int8_t cb_head = 0; -static int8_t cb_tail = 0; -static int8_t cb_count = 0; -#endif - // TODO: pointer variable is not needed // report_keyboard_t keyboard_report = {}; report_keyboard_t *keyboard_report = &(report_keyboard_t){}; |