summaryrefslogtreecommitdiff
path: root/keyboard/planck/extended_keymap_common.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-16 17:51:53 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-16 17:51:53 -0400
commitb3f638f491601d4a849995fb4fa1181c9ff4341a (patch)
tree2faf8bda68233a28abba86429c948d6fd841ef03 /keyboard/planck/extended_keymap_common.c
parent07d090db8ba5a3be15ec6c8ecf9e30815a48b0c0 (diff)
ok
Diffstat (limited to 'keyboard/planck/extended_keymap_common.c')
-rw-r--r--keyboard/planck/extended_keymap_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboard/planck/extended_keymap_common.c b/keyboard/planck/extended_keymap_common.c
index 841b249431..ade8508444 100644
--- a/keyboard/planck/extended_keymap_common.c
+++ b/keyboard/planck/extended_keymap_common.c
@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "debug.h"
#include "backlight.h"
-
static action_t keycode_to_action(uint16_t keycode);
@@ -70,6 +69,9 @@ action_t action_for_key(uint8_t layer, keypos_t key)
} else if (keycode == RESET) {
bootloader_jump();
return;
+ } else if (keycode > RESET) {
+ // MIDI
+ return;
}
switch (keycode) {