diff options
author | Drashna Jaelre <drashna@live.com> | 2022-06-18 14:37:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 07:37:51 +1000 |
commit | 0da6562c4df570729889690e21061229c5648b73 (patch) | |
tree | fe4145db4772116d55bf5f9af2502b041a8f31b7 /keyboards/helix/rev3_5rows/keymaps/five_rows | |
parent | cfcd647b2eec10d510194ca84cd37486fcf44fd4 (diff) |
Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/helix/rev3_5rows/keymaps/five_rows')
-rw-r--r-- | keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c b/keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c index d992425de7..4d9dc16a9e 100644 --- a/keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c +++ b/keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c @@ -379,8 +379,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { int current_default_layer; -uint32_t default_layer_state_set_user(uint32_t state) { - current_default_layer = biton32(state); +layer_state_t default_layer_state_set_user(layer_state_t state) { + current_default_layer = get_highest_layer(state); return state; } |