summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/keymaps/jacwib
diff options
context:
space:
mode:
authorbarrar <jeremiah.barrar@gmail.com>2017-05-13 08:37:25 -0700
committerGitHub <noreply@github.com>2017-05-13 08:37:25 -0700
commit4fe58aa6ec53b0f2a08b8a80f3465f8544ea5118 (patch)
treebbccabde9c5ea1493804ec679fe28227885db7d2 /keyboards/preonic/keymaps/jacwib
parent9a8904a9c071730ef6712f8be93c38ac4b43fbdb (diff)
parent04069c94ccc2878fd8b66153f6fc58987461caf2 (diff)
Merge pull request #1 from qmk/master
pull
Diffstat (limited to 'keyboards/preonic/keymaps/jacwib')
-rw-r--r--keyboards/preonic/keymaps/jacwib/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/preonic/keymaps/jacwib/keymap.c b/keyboards/preonic/keymaps/jacwib/keymap.c
index 72ccc86cd2..09f465de1e 100644
--- a/keyboards/preonic/keymaps/jacwib/keymap.c
+++ b/keyboards/preonic/keymaps/jacwib/keymap.c
@@ -196,7 +196,7 @@ float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
float music_scale[][2] = SONG(MUSIC_SCALE_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);
}
@@ -205,7 +205,7 @@ 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;
@@ -231,7 +231,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
case MQWERTY:
if (record->event.pressed) {
- persistant_default_layer_set(1UL<<_MQWERTY);
+ persistent_default_layer_set(1UL<<_MQWERTY);
}
return false;
break;