diff --git a/users/smathev/combos.c b/users/smathev/combos.c index f1850973..050ee077 100644 --- a/users/smathev/combos.c +++ b/users/smathev/combos.c @@ -40,4 +40,3 @@ combo_t key_combos[COMBO_COUNT] = { }; - diff --git a/users/smathev/combos.h b/users/smathev/combos.h index f66680ae..a27dd912 100644 --- a/users/smathev/combos.h +++ b/users/smathev/combos.h @@ -2,5 +2,8 @@ #include QMK_KEYBOARD_H -// Combo array declaration - COMBO_COUNT is automatically calculated by QMK -extern combo_t key_combos[]; +// Define the number of combos +#define COMBO_COUNT 17 + +// Combo array declaration +extern combo_t key_combos[COMBO_COUNT]; diff --git a/users/smathev/config.h b/users/smathev/config.h index 2bf1d37e..694c4cfd 100644 --- a/users/smathev/config.h +++ b/users/smathev/config.h @@ -76,8 +76,7 @@ #define SPLIT_WPM_ENABLE #define SPLIT_MODS_ENABLE #define SPLIT_LAYER_STATE_ENABLE -// Smathev - define combos -#define COMBO_COUNT 17 +// Smathev - define combos (COMBO_COUNT is auto-calculated by QMK) #define CASEMODES_ENABLE