diff options
author | jpetermans <tibcmhhm@gmail.com> | 2017-05-24 20:51:20 +0200 |
---|---|---|
committer | jpetermans <tibcmhhm@gmail.com> | 2017-05-24 20:51:20 +0200 |
commit | 2dcd6c38fa478b40a973c9411c3f5b4c87ae0ba7 (patch) | |
tree | 289d5cce94ad5883741f0b637749d87680c14d33 /keyboards/planck/keymaps/zach/zach_common_functions.c | |
parent | d89114400c398b900e27bf324a7973d1e0f25e58 (diff) | |
parent | 7a4ec3bd926865e490fbf7c5ec68d762e998683f (diff) | |
download | qmk_firmware-2dcd6c38fa478b40a973c9411c3f5b4c87ae0ba7.tar.gz qmk_firmware-2dcd6c38fa478b40a973c9411c3f5b4c87ae0ba7.tar.xz |
Merge remote-tracking branch 'upstream/master' into infinity60
Diffstat (limited to 'keyboards/planck/keymaps/zach/zach_common_functions.c')
-rw-r--r-- | keyboards/planck/keymaps/zach/zach_common_functions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/zach/zach_common_functions.c b/keyboards/planck/keymaps/zach/zach_common_functions.c index 2c47b2289..0b1dd7619 100644 --- a/keyboards/planck/keymaps/zach/zach_common_functions.c +++ b/keyboards/planck/keymaps/zach/zach_common_functions.c @@ -16,7 +16,7 @@ void tap(uint16_t keycode){ unregister_code(keycode); }; -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); }; @@ -200,7 +200,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case COLEMAK: if(record->event.pressed){ - persistant_default_layer_set(1UL<<_COLEMAK); + persistent_default_layer_set(1UL<<_COLEMAK); #ifdef AUDIO_ENABLE PLAY_NOTE_ARRAY(tone_colemak, false, 0); #endif @@ -209,7 +209,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { break; case SWCOLE: if(record->event.pressed){ - persistant_default_layer_set(1UL<<_SWCOLE); + persistent_default_layer_set(1UL<<_SWCOLE); #ifdef AUDIO_ENABLE PLAY_NOTE_ARRAY(tone_swcole, false, 0); #endif |