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/ergodox/keymaps/xyverz | |
parent | b412bb8d8cc7e1435c170cd20576f354611a7b64 (diff) |
Fix spelling of "persistent"
Fixes #1201.
Diffstat (limited to 'keyboards/ergodox/keymaps/xyverz')
-rw-r--r-- | keyboards/ergodox/keymaps/xyverz/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/ergodox/keymaps/xyverz/keymap.c b/keyboards/ergodox/keymaps/xyverz/keymap.c index ec909ec53d..b186c70ba3 100644 --- a/keyboards/ergodox/keymaps/xyverz/keymap.c +++ b/keyboards/ergodox/keymaps/xyverz/keymap.c @@ -254,7 +254,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); } @@ -265,17 +265,17 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) switch(id) { case _DV: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_DV); + persistent_default_layer_set(1UL<<_DV); } break; case _QW: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_QW); + persistent_default_layer_set(1UL<<_QW); } break; case _CM: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_CM); + persistent_default_layer_set(1UL<<_CM); } break; } |