diff options
Diffstat (limited to 'quantum/process_keycode')
| -rw-r--r-- | quantum/process_keycode/process_combo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_combo.c b/quantum/process_keycode/process_combo.c index 25a606063..c4e299958 100644 --- a/quantum/process_keycode/process_combo.c +++ b/quantum/process_keycode/process_combo.c | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | #ifndef COMBO_VARIABLE_LEN | 20 | #ifndef COMBO_VARIABLE_LEN |
| 21 | __attribute__((weak)) combo_t key_combos[COMBO_COUNT] = {}; | 21 | __attribute__((weak)) combo_t key_combos[COMBO_COUNT] = {}; |
| 22 | #else | 22 | #else |
| 23 | extern combo_t key_combos[]; | 23 | extern combo_t key_combos[]; |
| 24 | extern int COMBO_LEN; | 24 | extern int COMBO_LEN; |
| 25 | #endif | 25 | #endif |
| 26 | 26 | ||
| 27 | __attribute__((weak)) void process_combo_event(uint8_t combo_index, bool pressed) {} | 27 | __attribute__((weak)) void process_combo_event(uint8_t combo_index, bool pressed) {} |
| @@ -146,7 +146,7 @@ bool process_combo(uint16_t keycode, keyrecord_t *record) { | |||
| 146 | } | 146 | } |
| 147 | #ifndef COMBO_VARIABLE_LEN | 147 | #ifndef COMBO_VARIABLE_LEN |
| 148 | for (current_combo_index = 0; current_combo_index < COMBO_COUNT; ++current_combo_index) { | 148 | for (current_combo_index = 0; current_combo_index < COMBO_COUNT; ++current_combo_index) { |
| 149 | #else | 149 | #else |
| 150 | for (current_combo_index = 0; current_combo_index < COMBO_LEN; ++current_combo_index) { | 150 | for (current_combo_index = 0; current_combo_index < COMBO_LEN; ++current_combo_index) { |
| 151 | #endif | 151 | #endif |
| 152 | combo_t *combo = &key_combos[current_combo_index]; | 152 | combo_t *combo = &key_combos[current_combo_index]; |
