diff options
author | Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com> | 2017-05-11 21:32:35 +0200 |
---|---|---|
committer | Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com> | 2017-05-11 21:32:35 +0200 |
commit | 8ddbf7f59f8afa822031746bbf8019fbac0090c9 (patch) | |
tree | cb753f5ee81154c207ef10ac77ea4b8ba9057c41 /keyboards/atreus62 | |
parent | b412bb8d8cc7e1435c170cd20576f354611a7b64 (diff) | |
download | qmk_firmware-8ddbf7f59f8afa822031746bbf8019fbac0090c9.tar.gz qmk_firmware-8ddbf7f59f8afa822031746bbf8019fbac0090c9.tar.xz |
Fix spelling of "persistent"
Fixes #1201.
Diffstat (limited to 'keyboards/atreus62')
-rw-r--r-- | keyboards/atreus62/keymaps/xyverz/keymap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/atreus62/keymaps/xyverz/keymap.c b/keyboards/atreus62/keymaps/xyverz/keymap.c index 7b7c69f57..67e66584a 100644 --- a/keyboards/atreus62/keymaps/xyverz/keymap.c +++ b/keyboards/atreus62/keymaps/xyverz/keymap.c @@ -119,7 +119,7 @@ const uint16_t PROGMEM fn_actions[] = { }; -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); } @@ -128,25 +128,25 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case QWERTY: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_QWERTY); + persistent_default_layer_set(1UL<<_QWERTY); } return false; break; case COLEMAK: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_COLEMAK); + persistent_default_layer_set(1UL<<_COLEMAK); } return false; break; case DVORAK: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_DVORAK); + persistent_default_layer_set(1UL<<_DVORAK); } return false; break; case WOW: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_WOW); + persistent_default_layer_set(1UL<<_WOW); } return false; break; |