forked from mirror/qmk_firmware
Use layer_state_t instead of uint32_t
Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
committed by
Richard Baptist
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user