mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 04:41:28 +00:00
Use get_highest_layer instead of biton32
Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
bcdf91abe3
commit
78fc6b430b
@ -133,7 +133,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
};
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
switch (biton32(default_layer_state)) {
|
||||
switch (get_highest_layer(default_layer_state)) {
|
||||
case _COLEMAKDHM:
|
||||
state = update_tri_layer_state(state, _NUM, _NAV, _UTIL);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user