Fix LAYER_STATE_8BIT compile issues (#7304)
This commit is contained in:
parent
2075370633
commit
c1970e284d
3 changed files with 3 additions and 3 deletions
|
@ -268,7 +268,7 @@ uint8_t layer_switch_get_layer(keypos_t key) {
|
|||
/* fall back to layer 0 */
|
||||
return 0;
|
||||
#else
|
||||
return biton32(default_layer_state);
|
||||
return get_highest_layer(default_layer_state);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue