summaryrefslogtreecommitdiff
path: root/tmk_core/common/keymap.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-13 23:31:35 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-13 23:31:35 -0400
commitbdb6dceaebc358dd4aae593d51d3ba0dd61858a9 (patch)
treee5a4513740d4629203d3a663f1c39895cc842267 /tmk_core/common/keymap.c
parent200d5f506884ac2dda0bec2c0284f93a75ecad00 (diff)
parent7ff57503c61d72be62bb737af5f0efc5ad74b82a (diff)
downloadqmk_firmware-bdb6dceaebc358dd4aae593d51d3ba0dd61858a9.tar.gz
qmk_firmware-bdb6dceaebc358dd4aae593d51d3ba0dd61858a9.zip
Merge pull request #254 from IBNobody/master
Atomic TLC / Compiler Warning Fixes
Diffstat (limited to 'tmk_core/common/keymap.c')
-rw-r--r--tmk_core/common/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmk_core/common/keymap.c b/tmk_core/common/keymap.c
index 11f4aa8aaa..8955fc710d 100644
--- a/tmk_core/common/keymap.c
+++ b/tmk_core/common/keymap.c
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "action_macro.h"
#include "wait.h"
#include "debug.h"
-
+#include "bootloader.h"
static action_t keycode_to_action(uint8_t keycode);
@@ -143,6 +143,7 @@ static action_t keycode_to_action(uint8_t keycode)
action.code = ACTION_TRANSPARENT;
break;
case KC_BOOTLOADER:
+ action.code = ACTION_NO;
clear_keyboard();
wait_ms(50);
bootloader_jump(); // not return