Use layer_state_t instead of uint32_t

Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Richard Baptist 2019-10-02 08:45:41 +02:00 committed by Richard Baptist
parent 34ceab8150
commit bcdf91abe3
No known key found for this signature in database
GPG Key ID: 115D8B1815981F35

View File

@ -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)) {
case _COLEMAKDHM:
state = update_tri_layer_state(state, _NUM, _NAV, _UTIL);