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/subatomic | |
| parent | b412bb8d8cc7e1435c170cd20576f354611a7b64 (diff) | |
| download | qmk_firmware-8ddbf7f59f8afa822031746bbf8019fbac0090c9.tar.gz qmk_firmware-8ddbf7f59f8afa822031746bbf8019fbac0090c9.zip | |
Fix spelling of "persistent"
Fixes #1201.
Diffstat (limited to 'keyboards/subatomic')
| -rw-r--r-- | keyboards/subatomic/keymaps/default/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/subatomic/keymaps/default/keymap.c b/keyboards/subatomic/keymaps/default/keymap.c index 628ade9b6..f4aa50eba 100644 --- a/keyboards/subatomic/keymaps/default/keymap.c +++ b/keyboards/subatomic/keymaps/default/keymap.c | |||
| @@ -177,7 +177,7 @@ float tone_goodbye[][2] = SONG(GOODBYE_SOUND); | |||
| 177 | float music_scale[][2] = SONG(MUSIC_SCALE_SOUND); | 177 | float music_scale[][2] = SONG(MUSIC_SCALE_SOUND); |
| 178 | #endif | 178 | #endif |
| 179 | 179 | ||
| 180 | void persistant_default_layer_set(uint16_t default_layer) { | 180 | void persistent_default_layer_set(uint16_t default_layer) { |
| 181 | eeconfig_update_default_layer(default_layer); | 181 | eeconfig_update_default_layer(default_layer); |
| 182 | default_layer_set(default_layer); | 182 | default_layer_set(default_layer); |
| 183 | } | 183 | } |
| @@ -189,7 +189,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 189 | #ifdef AUDIO_ENABLE | 189 | #ifdef AUDIO_ENABLE |
| 190 | PLAY_NOTE_ARRAY(tone_qwerty, false, 0); | 190 | PLAY_NOTE_ARRAY(tone_qwerty, false, 0); |
| 191 | #endif | 191 | #endif |
| 192 | persistant_default_layer_set(1UL<<_QWERTY); | 192 | persistent_default_layer_set(1UL<<_QWERTY); |
| 193 | } | 193 | } |
| 194 | return false; | 194 | return false; |
| 195 | break; | 195 | break; |
| @@ -198,7 +198,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 198 | #ifdef AUDIO_ENABLE | 198 | #ifdef AUDIO_ENABLE |
| 199 | PLAY_NOTE_ARRAY(tone_colemak, false, 0); | 199 | PLAY_NOTE_ARRAY(tone_colemak, false, 0); |
| 200 | #endif | 200 | #endif |
| 201 | persistant_default_layer_set(1UL<<_COLEMAK); | 201 | persistent_default_layer_set(1UL<<_COLEMAK); |
| 202 | } | 202 | } |
| 203 | return false; | 203 | return false; |
| 204 | break; | 204 | break; |
| @@ -207,7 +207,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 207 | #ifdef AUDIO_ENABLE | 207 | #ifdef AUDIO_ENABLE |
| 208 | PLAY_NOTE_ARRAY(tone_dvorak, false, 0); | 208 | PLAY_NOTE_ARRAY(tone_dvorak, false, 0); |
| 209 | #endif | 209 | #endif |
| 210 | persistant_default_layer_set(1UL<<_DVORAK); | 210 | persistent_default_layer_set(1UL<<_DVORAK); |
| 211 | } | 211 | } |
| 212 | return false; | 212 | return false; |
| 213 | break; | 213 | break; |
