format code according to conventions [skip ci]
This commit is contained in:
parent
000eb14d78
commit
a3db72df72
14 changed files with 93 additions and 96 deletions
|
@ -27,7 +27,7 @@ extern int COMBO_LEN;
|
|||
__attribute__((weak)) void process_combo_event(uint16_t combo_index, bool pressed) {}
|
||||
|
||||
static uint16_t timer = 0;
|
||||
static uint16_t current_combo_index = 0;
|
||||
static uint16_t current_combo_index = 0;
|
||||
static bool drop_buffer = false;
|
||||
static bool is_active = false;
|
||||
static bool b_combo_enable = true; // defaults to enabled
|
||||
|
@ -82,7 +82,7 @@ static inline void dump_key_buffer(bool emit) {
|
|||
} while (0)
|
||||
|
||||
static bool process_single_combo(combo_t *combo, uint16_t keycode, keyrecord_t *record) {
|
||||
uint8_t count = 0;
|
||||
uint8_t count = 0;
|
||||
uint16_t index = -1;
|
||||
/* Find index of keycode and number of combo keys */
|
||||
for (const uint16_t *keys = combo->keys;; ++count) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue