diff options
| author | QMK Bot <hello@qmk.fm> | 2021-09-29 18:37:46 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-09-29 18:37:46 +0000 |
| commit | be3d7063a04c40797a131d5f4993e45245ba6bfc (patch) | |
| tree | cfce95787ed7c86b40af0dbdd856208f4285b17e /quantum | |
| parent | 81f2d0f4cb6400360d585433e8b9976352e2a437 (diff) | |
| parent | 02ab7b1888e6572178543ca0b944e4fa14cdf974 (diff) | |
| download | qmk_firmware-be3d7063a04c40797a131d5f4993e45245ba6bfc.tar.gz qmk_firmware-be3d7063a04c40797a131d5f4993e45245ba6bfc.zip | |
Merge remote-tracking branch 'origin/master' into develop
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 2b3c00cba..9a85bd504 100644 --- a/quantum/action_util.c +++ b/quantum/action_util.c | |||
| @@ -32,16 +32,6 @@ static uint8_t weak_override_mods = 0; | |||
| 32 | static uint8_t suppressed_mods = 0; | 32 | static uint8_t suppressed_mods = 0; |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| 35 | #ifdef USB_6KRO_ENABLE | ||
| 36 | # define RO_ADD(a, b) ((a + b) % KEYBOARD_REPORT_KEYS) | ||
| 37 | # define RO_SUB(a, b) ((a - b + KEYBOARD_REPORT_KEYS) % KEYBOARD_REPORT_KEYS) | ||
| 38 | # define RO_INC(a) RO_ADD(a, 1) | ||
| 39 | # define RO_DEC(a) RO_SUB(a, 1) | ||
| 40 | static int8_t cb_head = 0; | ||
| 41 | static int8_t cb_tail = 0; | ||
| 42 | static int8_t cb_count = 0; | ||
| 43 | #endif | ||
| 44 | |||
| 45 | // TODO: pointer variable is not needed | 35 | // TODO: pointer variable is not needed |
| 46 | // report_keyboard_t keyboard_report = {}; | 36 | // report_keyboard_t keyboard_report = {}; |
| 47 | report_keyboard_t *keyboard_report = &(report_keyboard_t){}; | 37 | report_keyboard_t *keyboard_report = &(report_keyboard_t){}; |
