diff options
author | Joel Challis <git@zvecr.com> | 2019-11-09 02:23:26 +0000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-11-08 18:23:26 -0800 |
commit | c1970e284d9718a62a973442ec9f0801365cff60 (patch) | |
tree | decd82321b3137faf26d2a11de2dfcd9940b8a32 /tmk_core/common/action_layer.h | |
parent | 20753706337630c6be4757e322b7da90f5f030cf (diff) | |
download | qmk_firmware-c1970e284d9718a62a973442ec9f0801365cff60.tar.gz qmk_firmware-c1970e284d9718a62a973442ec9f0801365cff60.zip |
Fix LAYER_STATE_8BIT compile issues (#7304)
Diffstat (limited to 'tmk_core/common/action_layer.h')
-rw-r--r-- | tmk_core/common/action_layer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h index fee9b244df..b8562f5a46 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 <http://www.gnu.org/licenses/>. #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) |