diff options
| author | フィルターペーパー <76888457+filterpaper@users.noreply.github.com> | 2024-10-12 07:13:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-12 00:13:31 +0100 |
| commit | 8844fba607fd73696f172ddf8d6c5868bb843359 (patch) | |
| tree | 70a8e6ceaf2cabe1f5499c5217eb0a118128be52 /quantum/process_keycode/process_combo.c | |
| parent | 6129af93f497077a994e8e41473e2bd3d6ea5e67 (diff) | |
Update combo user function variable (#24467)
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 38171c2f54..c99a66a74b 100644 --- a/quantum/process_keycode/process_combo.c +++ b/quantum/process_keycode/process_combo.c | |||
| @@ -36,19 +36,19 @@ __attribute__((weak)) uint8_t combo_ref_from_layer(uint8_t layer) { | |||
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| 38 | #ifdef COMBO_MUST_HOLD_PER_COMBO | 38 | #ifdef COMBO_MUST_HOLD_PER_COMBO |
| 39 | __attribute__((weak)) bool get_combo_must_hold(uint16_t index, combo_t *combo) { | 39 | __attribute__((weak)) bool get_combo_must_hold(uint16_t combo_index, combo_t *combo) { |
| 40 | return false; | 40 | return false; |
| 41 | } | 41 | } |
| 42 | #endif | 42 | #endif |
| 43 | 43 | ||
| 44 | #ifdef COMBO_MUST_TAP_PER_COMBO | 44 | #ifdef COMBO_MUST_TAP_PER_COMBO |
| 45 | __attribute__((weak)) bool get_combo_must_tap(uint16_t index, combo_t *combo) { | 45 | __attribute__((weak)) bool get_combo_must_tap(uint16_t combo_index, combo_t *combo) { |
| 46 | return false; | 46 | return false; |
| 47 | } | 47 | } |
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
| 50 | #ifdef COMBO_TERM_PER_COMBO | 50 | #ifdef COMBO_TERM_PER_COMBO |
| 51 | __attribute__((weak)) uint16_t get_combo_term(uint16_t index, combo_t *combo) { | 51 | __attribute__((weak)) uint16_t get_combo_term(uint16_t combo_index, combo_t *combo) { |
| 52 | return COMBO_TERM; | 52 | return COMBO_TERM; |
| 53 | } | 53 | } |
| 54 | #endif | 54 | #endif |
