diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-10 10:12:41 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-13 16:00:29 +0300 |
commit | a619b93e38c9d8dff86d5276ff9e549797045f3a (patch) | |
tree | 5f978db9f30ab0172bd3dd47a390650ba97243a3 | |
parent | df30d18458b018d6b87c01678037767ddec3e9f4 (diff) |
Fix warnings in planck/lucas keymap
Register the unshifted version DE_LESS, rather than the shifted DE_MORE
-rw-r--r-- | keyboards/planck/keymaps/lucas/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/lucas/keymap.c b/keyboards/planck/keymaps/lucas/keymap.c index 2208780b18..491cd1d07d 100644 --- a/keyboards/planck/keymaps/lucas/keymap.c +++ b/keyboards/planck/keymaps/lucas/keymap.c @@ -153,12 +153,12 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) case 1: // M(1) if (record->event.pressed) { unregister_code(KC_LSFT); - register_code(DE_MORE); + register_code(DE_LESS); } else { - unregister_code(DE_MORE); + unregister_code(DE_LESS); } break; } return MACRO_NONE; -};
\ No newline at end of file +}; |