diff options
Diffstat (limited to 'tmk_core/common/keymap.c')
| -rw-r--r-- | tmk_core/common/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tmk_core/common/keymap.c b/tmk_core/common/keymap.c index 11f4aa8aa..8955fc710 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/>. | |||
| 22 | #include "action_macro.h" | 22 | #include "action_macro.h" |
| 23 | #include "wait.h" | 23 | #include "wait.h" |
| 24 | #include "debug.h" | 24 | #include "debug.h" |
| 25 | 25 | #include "bootloader.h" | |
| 26 | 26 | ||
| 27 | static action_t keycode_to_action(uint8_t keycode); | 27 | static action_t keycode_to_action(uint8_t keycode); |
| 28 | 28 | ||
| @@ -143,6 +143,7 @@ static action_t keycode_to_action(uint8_t keycode) | |||
| 143 | action.code = ACTION_TRANSPARENT; | 143 | action.code = ACTION_TRANSPARENT; |
| 144 | break; | 144 | break; |
| 145 | case KC_BOOTLOADER: | 145 | case KC_BOOTLOADER: |
| 146 | action.code = ACTION_NO; | ||
| 146 | clear_keyboard(); | 147 | clear_keyboard(); |
| 147 | wait_ms(50); | 148 | wait_ms(50); |
| 148 | bootloader_jump(); // not return | 149 | bootloader_jump(); // not return |
