summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/jhenahan/keymap.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-05-12 16:24:29 -0400
committerGitHub <noreply@github.com>2017-05-12 16:24:29 -0400
commita82e752f6467d418a605040a7288f77fd1bf66a9 (patch)
treecb753f5ee81154c207ef10ac77ea4b8ba9057c41 /keyboards/planck/keymaps/jhenahan/keymap.c
parentb412bb8d8cc7e1435c170cd20576f354611a7b64 (diff)
parent8ddbf7f59f8afa822031746bbf8019fbac0090c9 (diff)
Merge pull request #1291 from adzenith/persistent
Fix spelling of "persistent"
Diffstat (limited to 'keyboards/planck/keymaps/jhenahan/keymap.c')
-rw-r--r--keyboards/planck/keymaps/jhenahan/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/jhenahan/keymap.c b/keyboards/planck/keymaps/jhenahan/keymap.c
index 2bda4b6956..bf9735be8e 100644
--- a/keyboards/planck/keymaps/jhenahan/keymap.c
+++ b/keyboards/planck/keymaps/jhenahan/keymap.c
@@ -183,7 +183,7 @@ float tone_goodbye[][2] = SONG(GOODBYE_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);
}
@@ -195,7 +195,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;
@@ -212,7 +212,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;