summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/impossible
diff options
context:
space:
mode:
authorNikolaus Wittenstein <nikolaus.wittenstein@gmail.com>2017-05-11 15:32:35 -0400
committerNikolaus Wittenstein <nikolaus.wittenstein@gmail.com>2017-05-11 15:32:35 -0400
commit8ddbf7f59f8afa822031746bbf8019fbac0090c9 (patch)
treecb753f5ee81154c207ef10ac77ea4b8ba9057c41 /keyboards/planck/keymaps/impossible
parentb412bb8d8cc7e1435c170cd20576f354611a7b64 (diff)
Fix spelling of "persistent"
Fixes #1201.
Diffstat (limited to 'keyboards/planck/keymaps/impossible')
-rw-r--r--keyboards/planck/keymaps/impossible/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/impossible/keymap.c b/keyboards/planck/keymaps/impossible/keymap.c
index 503976fa28..6a649f2c8e 100644
--- a/keyboards/planck/keymaps/impossible/keymap.c
+++ b/keyboards/planck/keymaps/impossible/keymap.c
@@ -164,7 +164,7 @@ float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
#endif
-void persistant_default_layer_set(uint16_t default_layer) {
+void persistent_default_layer_set(uint16_t default_layer) {
eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
}
@@ -176,7 +176,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef AUDIO_ENABLE
PLAY_NOTE_ARRAY(tone_workman, false, 0);
#endif
- persistant_default_layer_set(1UL<<_WORKMAN);
+ persistent_default_layer_set(1UL<<_WORKMAN);
}
return false;
break;
@@ -185,7 +185,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef AUDIO_ENABLE
PLAY_NOTE_ARRAY(tone_qwerty, false, 0);
#endif
- persistant_default_layer_set(1UL<<_QWERTY);
+ persistent_default_layer_set(1UL<<_QWERTY);
}
return false;
break;
@@ -200,7 +200,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
keymap_config.raw = eeconfig_read_keymap();
keymap_config.nkro = 1;
eeconfig_update_keymap(keymap_config.raw);
- persistant_default_layer_set(1UL<<_PLOVER);
+ persistent_default_layer_set(1UL<<_PLOVER);
}
return false;
break;