diff --git a/users/t4corun/t4corun.c b/users/t4corun/t4corun.c index c9a52e63..8bdb1265 100644 --- a/users/t4corun/t4corun.c +++ b/users/t4corun/t4corun.c @@ -1,5 +1,7 @@ #include "t4corun.h" +static uint8_t current_base_layer = _DEFAULT_LAYER_1; + layer_state_t layer_state_set_user(layer_state_t state) { state = update_tri_layer_state(state, _NAVIGATION, _NUMBER, _SYMBOL); diff --git a/users/t4corun/t4corun.h b/users/t4corun/t4corun.h index 91bccb81..969e4590 100644 --- a/users/t4corun/t4corun.h +++ b/users/t4corun/t4corun.h @@ -180,8 +180,6 @@ enum keycodes { #define _DEFAULT_LAYER_3 (FIRST_DEFAULT_LAYER + 2) #define NUM_BASE_LAYER 3 -static uint8_t current_base_layer = _DEFAULT_LAYER_1; - #define _NONE_3__________________ ___x___, ___x___, ___x___ #define _NONE_5____________________________________ ___x___, ___x___, ___x___, ___x___, ___x___ #define _GACS_MODS________________________ TR_LGUI, TR_LALT, TR_LCTL, TR_LSFT