aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2021-07-20 02:50:55 +1000
committerGitHub <noreply@github.com>2021-07-19 09:50:55 -0700
commitb73a29aaeabe1004423a2ea6180a94a95a1f0d91 (patch)
tree41f8708f6d3be543d0d97bc1f73c6c5e69c66ca9 /layouts
parentf792aee954c6e5ced81af381775438afa2710c72 (diff)
downloadqmk_firmware-b73a29aaeabe1004423a2ea6180a94a95a1f0d91.tar.gz
qmk_firmware-b73a29aaeabe1004423a2ea6180a94a95a1f0d91.zip
[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75 * update uint32_t to layer_state
Diffstat (limited to 'layouts')
-rw-r--r--layouts/community/ergodox/issmirnov/keymap.c2
-rw-r--r--layouts/community/ergodox/qwerty_code_friendly/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/community/ergodox/issmirnov/keymap.c b/layouts/community/ergodox/issmirnov/keymap.c
index ce853f3d3..b129148b0 100644
--- a/layouts/community/ergodox/issmirnov/keymap.c
+++ b/layouts/community/ergodox/issmirnov/keymap.c
@@ -201,7 +201,7 @@ void matrix_scan_user(void) {
201} 201}
202 202
203// only runs when when the layer is changed, good for updating LED's and clearing sticky state 203// only runs when when the layer is changed, good for updating LED's and clearing sticky state
204uint32_t layer_state_set_user(uint32_t state) { 204layer_state_t layer_state_set_user(layer_state_t state) {
205 uint8_t layer = biton32(state); 205 uint8_t layer = biton32(state);
206 206
207 ergodox_board_led_off(); 207 ergodox_board_led_off();
diff --git a/layouts/community/ergodox/qwerty_code_friendly/keymap.c b/layouts/community/ergodox/qwerty_code_friendly/keymap.c
index bf20e76a5..6e285d561 100644
--- a/layouts/community/ergodox/qwerty_code_friendly/keymap.c
+++ b/layouts/community/ergodox/qwerty_code_friendly/keymap.c
@@ -490,7 +490,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
490), 490),
491}; 491};
492 492
493uint32_t layer_state_set_user(uint32_t state) { 493layer_state_t layer_state_set_user(layer_state_t state) {
494 /* Use layer 3 when 1 & 2 are pressed. */ 494 /* Use layer 3 when 1 & 2 are pressed. */
495 state = update_tri_layer_state(state, LAYER_KPAD, LAYER_FKEY, LAYER_WORD); 495 state = update_tri_layer_state(state, LAYER_KPAD, LAYER_FKEY, LAYER_WORD);
496 return state; 496 return state;