summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/lucas
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-10 09:12:41 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-04-13 15:00:29 +0200
commita619b93e38c9d8dff86d5276ff9e549797045f3a (patch)
tree5f978db9f30ab0172bd3dd47a390650ba97243a3 /keyboards/planck/keymaps/lucas
parentdf30d18458b018d6b87c01678037767ddec3e9f4 (diff)
downloadqmk_firmware-a619b93e38c9d8dff86d5276ff9e549797045f3a.tar.gz
qmk_firmware-a619b93e38c9d8dff86d5276ff9e549797045f3a.tar.xz
Fix warnings in planck/lucas keymap
Register the unshifted version DE_LESS, rather than the shifted DE_MORE
Diffstat (limited to 'keyboards/planck/keymaps/lucas')
-rw-r--r--keyboards/planck/keymaps/lucas/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/lucas/keymap.c b/keyboards/planck/keymaps/lucas/keymap.c
index 2208780b1..491cd1d07 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
+};