diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-07-20 02:50:55 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 09:50:55 -0700 |
commit | b73a29aaeabe1004423a2ea6180a94a95a1f0d91 (patch) | |
tree | 41f8708f6d3be543d0d97bc1f73c6c5e69c66ca9 /keyboards/crkbd/keymaps | |
parent | f792aee954c6e5ced81af381775438afa2710c72 (diff) |
[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75
* update uint32_t to layer_state
Diffstat (limited to 'keyboards/crkbd/keymaps')
-rw-r--r-- | keyboards/crkbd/keymaps/dsanchezseco/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/crkbd/keymaps/rs/oled.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/crkbd/keymaps/dsanchezseco/keymap.c b/keyboards/crkbd/keymaps/dsanchezseco/keymap.c index 9a48ee2595..6cf593bc3d 100644 --- a/keyboards/crkbd/keymaps/dsanchezseco/keymap.c +++ b/keyboards/crkbd/keymaps/dsanchezseco/keymap.c @@ -71,7 +71,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) { return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); } diff --git a/keyboards/crkbd/keymaps/rs/oled.c b/keyboards/crkbd/keymaps/rs/oled.c index c94dff9eda..bd8ae7d299 100644 --- a/keyboards/crkbd/keymaps/rs/oled.c +++ b/keyboards/crkbd/keymaps/rs/oled.c @@ -61,7 +61,7 @@ void keylog_set_keymap(uint16_t keycode, keyrecord_t *record) { set_keylog(keycode, record); } -uint32_t layer_state_set_user(uint32_t state) { +layer_state_t layer_state_set_user(layer_state_t state) { for (layer_name_idx = 0; layer_name_idx < LAYER_DISPLAY_MAX; ++layer_name_idx) { if (state == 0 && layer_display_name[layer_name_idx].state == default_layer_state) { break; |