diff options
author | Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com> | 2017-05-11 15:32:35 -0400 |
---|---|---|
committer | Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com> | 2017-05-11 15:32:35 -0400 |
commit | 8ddbf7f59f8afa822031746bbf8019fbac0090c9 (patch) | |
tree | cb753f5ee81154c207ef10ac77ea4b8ba9057c41 /keyboards/planck/keymaps/pete/keymap.c | |
parent | b412bb8d8cc7e1435c170cd20576f354611a7b64 (diff) | |
download | qmk_firmware-8ddbf7f59f8afa822031746bbf8019fbac0090c9.tar.gz qmk_firmware-8ddbf7f59f8afa822031746bbf8019fbac0090c9.zip |
Fix spelling of "persistent"
Fixes #1201.
Diffstat (limited to 'keyboards/planck/keymaps/pete/keymap.c')
-rw-r--r-- | keyboards/planck/keymaps/pete/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/pete/keymap.c b/keyboards/planck/keymaps/pete/keymap.c index 38275b4030..d991bece13 100644 --- a/keyboards/planck/keymaps/pete/keymap.c +++ b/keyboards/planck/keymaps/pete/keymap.c @@ -143,7 +143,7 @@ float 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); } @@ -156,7 +156,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) #ifdef AUDIO_ENABLE PLAY_NOTE_ARRAY(tone_qwerty, false, 0); #endif - persistant_default_layer_set(1UL<<_QWERTY); + persistent_default_layer_set(1UL<<_QWERTY); } break; case _COLEMAK: @@ -164,7 +164,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) #ifdef AUDIO_ENABLE PLAY_NOTE_ARRAY(tone_colemak, false, 0); #endif - persistant_default_layer_set(1UL<<_COLEMAK); + persistent_default_layer_set(1UL<<_COLEMAK); } break; case _DVORAK: @@ -172,7 +172,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) #ifdef AUDIO_ENABLE PLAY_NOTE_ARRAY(tone_dvorak, false, 0); #endif - persistant_default_layer_set(1UL<<_DVORAK); + persistent_default_layer_set(1UL<<_DVORAK); } break; case _LOWER: |