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