diff options
author | barrar <jeremiah.barrar@gmail.com> | 2017-05-13 08:37:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-13 08:37:25 -0700 |
commit | 4fe58aa6ec53b0f2a08b8a80f3465f8544ea5118 (patch) | |
tree | bbccabde9c5ea1493804ec679fe28227885db7d2 /keyboards/roadkit/keymaps/default/keymap.c | |
parent | 9a8904a9c071730ef6712f8be93c38ac4b43fbdb (diff) | |
parent | 04069c94ccc2878fd8b66153f6fc58987461caf2 (diff) |
Merge pull request #1 from qmk/master
pull
Diffstat (limited to 'keyboards/roadkit/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/roadkit/keymaps/default/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/roadkit/keymaps/default/keymap.c b/keyboards/roadkit/keymaps/default/keymap.c index 3fc18915a8..048e807481 100644 --- a/keyboards/roadkit/keymaps/default/keymap.c +++ b/keyboards/roadkit/keymaps/default/keymap.c @@ -31,7 +31,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); } @@ -41,7 +41,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) switch(id) { case _NP: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_NP); + persistent_default_layer_set(1UL<<_NP); } break; } |