diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2017-05-26 15:57:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-26 15:57:08 +0200 |
commit | 0a4a966c6648e66a1129ae3af36639054d3e0ed3 (patch) | |
tree | ec50b19b9031b1f3f24e003879f95cf9690d61af /keyboards/atreus | |
parent | 7180e195e84aabf252fcadb2852644417ac1d663 (diff) | |
parent | 7a4ec3bd926865e490fbf7c5ec68d762e998683f (diff) | |
download | qmk_firmware-0a4a966c6648e66a1129ae3af36639054d3e0ed3.tar.gz |
Merge pull request #22 from qmk/master
Merge from QMK
Diffstat (limited to 'keyboards/atreus')
-rw-r--r-- | keyboards/atreus/keymaps/xyverz/keymap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/atreus/keymaps/xyverz/keymap.c b/keyboards/atreus/keymaps/xyverz/keymap.c index ed943eb66..347445ef6 100644 --- a/keyboards/atreus/keymaps/xyverz/keymap.c +++ b/keyboards/atreus/keymaps/xyverz/keymap.c @@ -168,7 +168,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); } @@ -177,25 +177,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 DVORMAC: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_DVORMAC); + persistent_default_layer_set(1UL<<_DVORMAC); } return false; break; |