From c1970e284d9718a62a973442ec9f0801365cff60 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 9 Nov 2019 02:23:26 +0000 Subject: Fix LAYER_STATE_8BIT compile issues (#7304) --- tmk_core/common/action_layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmk_core/common/action_layer.h') diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h index fee9b244d..b8562f5a4 100644 --- a/tmk_core/common/action_layer.h +++ b/tmk_core/common/action_layer.h @@ -23,7 +23,7 @@ along with this program. If not, see . #if defined(LAYER_STATE_8BIT) typedef uint8_t layer_state_t; -# define get_highest_layer(state) biton8(state) +# define get_highest_layer(state) biton(state) #elif defined(LAYER_STATE_16BIT) typedef uint16_t layer_state_t; # define get_highest_layer(state) biton16(state) -- cgit v1.2.3