aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
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;