aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/experimental/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/experimental/keymap.c')
-rw-r--r--keyboards/planck/keymaps/experimental/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/experimental/keymap.c b/keyboards/planck/keymaps/experimental/keymap.c
index 569dbcc8a..17fad784e 100644
--- a/keyboards/planck/keymaps/experimental/keymap.c
+++ b/keyboards/planck/keymaps/experimental/keymap.c
@@ -204,7 +204,7 @@ float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
204 204
205 205
206 206
207void persistant_default_layer_set(uint16_t default_layer) { 207void persistent_default_layer_set(uint16_t default_layer) {
208 eeconfig_update_default_layer(default_layer); 208 eeconfig_update_default_layer(default_layer);
209 default_layer_set(default_layer); 209 default_layer_set(default_layer);
210} 210}
@@ -217,7 +217,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
217 #ifdef AUDIO_ENABLE 217 #ifdef AUDIO_ENABLE
218 PLAY_NOTE_ARRAY(tone_qwerty, false, 0); 218 PLAY_NOTE_ARRAY(tone_qwerty, false, 0);
219 #endif 219 #endif
220 persistant_default_layer_set(1UL<<_QWERTY); 220 persistent_default_layer_set(1UL<<_QWERTY);
221 } 221 }
222 break; 222 break;
223 return false; 223 return false;
@@ -226,7 +226,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
226 #ifdef AUDIO_ENABLE 226 #ifdef AUDIO_ENABLE
227 PLAY_NOTE_ARRAY(tone_colemak, false, 0); 227 PLAY_NOTE_ARRAY(tone_colemak, false, 0);
228 #endif 228 #endif
229 persistant_default_layer_set(1UL<<_COLEMAK); 229 persistent_default_layer_set(1UL<<_COLEMAK);
230 } 230 }
231 break; 231 break;
232 return false; 232 return false;
@@ -235,7 +235,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
235 #ifdef AUDIO_ENABLE 235 #ifdef AUDIO_ENABLE
236 PLAY_NOTE_ARRAY(tone_dvorak, false, 0); 236 PLAY_NOTE_ARRAY(tone_dvorak, false, 0);
237 #endif 237 #endif
238 persistant_default_layer_set(1UL<<_DVORAK); 238 persistent_default_layer_set(1UL<<_DVORAK);
239 } 239 }
240 break; 240 break;
241 return false; 241 return false;