diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-05-12 16:24:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 16:24:29 -0400 |
commit | a82e752f6467d418a605040a7288f77fd1bf66a9 (patch) | |
tree | cb753f5ee81154c207ef10ac77ea4b8ba9057c41 /keyboards/roadkit/keymaps | |
parent | b412bb8d8cc7e1435c170cd20576f354611a7b64 (diff) | |
parent | 8ddbf7f59f8afa822031746bbf8019fbac0090c9 (diff) |
Merge pull request #1291 from adzenith/persistent
Fix spelling of "persistent"
Diffstat (limited to 'keyboards/roadkit/keymaps')
-rw-r--r-- | keyboards/roadkit/keymaps/default/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/roadkit/keymaps/singles/keymap.c | 6 |
2 files changed, 5 insertions, 5 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; } diff --git a/keyboards/roadkit/keymaps/singles/keymap.c b/keyboards/roadkit/keymaps/singles/keymap.c index 5ee7a752b8..1c6aa7883f 100644 --- a/keyboards/roadkit/keymaps/singles/keymap.c +++ b/keyboards/roadkit/keymaps/singles/keymap.c @@ -38,7 +38,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); } @@ -48,12 +48,12 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) switch(id) { case _L1: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_L1); + persistent_default_layer_set(1UL<<_L1); } break; case _NP: if (record->event.pressed) { - persistant_default_layer_set(1UL<<_NP); + persistent_default_layer_set(1UL<<_NP); } break; } |