diff options
author | フィルターペーパー <[email protected]> | 2024-10-12 07:13:31 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-12 00:13:31 +0100 |
commit | 8844fba607fd73696f172ddf8d6c5868bb843359 (patch) | |
tree | 70a8e6ceaf2cabe1f5499c5217eb0a118128be52 /quantum | |
parent | 6129af93f497077a994e8e41473e2bd3d6ea5e67 (diff) | |
download | qmk_firmware-8844fba607fd73696f172ddf8d6c5868bb843359.tar.gz qmk_firmware-8844fba607fd73696f172ddf8d6c5868bb843359.zip |
Update combo user function variable (#24467)
Diffstat (limited to 'quantum')
-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) { #endif #ifdef COMBO_MUST_HOLD_PER_COMBO -__attribute__((weak)) bool get_combo_must_hold(uint16_t index, combo_t *combo) { +__attribute__((weak)) bool get_combo_must_hold(uint16_t combo_index, combo_t *combo) { return false; } #endif #ifdef COMBO_MUST_TAP_PER_COMBO -__attribute__((weak)) bool get_combo_must_tap(uint16_t index, combo_t *combo) { +__attribute__((weak)) bool get_combo_must_tap(uint16_t combo_index, combo_t *combo) { return false; } #endif #ifdef COMBO_TERM_PER_COMBO -__attribute__((weak)) uint16_t get_combo_term(uint16_t index, combo_t *combo) { +__attribute__((weak)) uint16_t get_combo_term(uint16_t combo_index, combo_t *combo) { return COMBO_TERM; } #endif |