From 0eafe4f4c83496f07046609710a41dbd5da138d9 Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 24 Apr 2024 12:57:22 -0500 Subject: [PATCH] It did not like me putting that variable in the header file --- users/t4corun/t4corun.c | 2 ++ users/t4corun/t4corun.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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