summaryrefslogtreecommitdiff
path: root/keyboards/tv44/keymaps/smt
diff options
context:
space:
mode:
authorNikolaus Wittenstein <nikolaus.wittenstein@gmail.com>2017-05-11 15:32:35 -0400
committerNikolaus Wittenstein <nikolaus.wittenstein@gmail.com>2017-05-11 15:32:35 -0400
commit8ddbf7f59f8afa822031746bbf8019fbac0090c9 (patch)
treecb753f5ee81154c207ef10ac77ea4b8ba9057c41 /keyboards/tv44/keymaps/smt
parentb412bb8d8cc7e1435c170cd20576f354611a7b64 (diff)
Fix spelling of "persistent"
Fixes #1201.
Diffstat (limited to 'keyboards/tv44/keymaps/smt')
-rw-r--r--keyboards/tv44/keymaps/smt/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/tv44/keymaps/smt/keymap.c b/keyboards/tv44/keymaps/smt/keymap.c
index 532e74de08..dfd6244668 100644
--- a/keyboards/tv44/keymaps/smt/keymap.c
+++ b/keyboards/tv44/keymaps/smt/keymap.c
@@ -171,7 +171,7 @@ ALT_T(BACKLIT), _______ , _______ , KC_MPLY , KC_MNXT , _____
/*`---------+---------------+---------+-------^^^------+-------^^^-------+----------+--------+--------+--------------'*/
};
-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);
}
@@ -180,19 +180,19 @@ 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;