diff options
author | Joel Challis <git@zvecr.com> | 2020-03-25 03:39:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 14:39:53 +1100 |
commit | 6ceaae30f519b63b4b56e0277dd459cccf2d0729 (patch) | |
tree | ef453f7a49b5570196bd9ee7e32b9e7a7b5b3c10 /quantum/process_keycode/process_combo.c | |
parent | 5075a1d9e4bdc4af6563f3805f567913e36f7159 (diff) | |
download | qmk_firmware-6ceaae30f519b63b4b56e0277dd459cccf2d0729.tar.gz qmk_firmware-6ceaae30f519b63b4b56e0277dd459cccf2d0729.zip |
Run clang-format manually to fix recently changed files (#8552)
Diffstat (limited to 'quantum/process_keycode/process_combo.c')
-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]; |