diff options
Diffstat (limited to 'common/command.c')
| -rw-r--r-- | common/command.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/command.c b/common/command.c index f9cdaf57d..16c6cfb88 100644 --- a/common/command.c +++ b/common/command.c | |||
| @@ -78,8 +78,6 @@ static uint8_t command_common(void) | |||
| 78 | help(); | 78 | help(); |
| 79 | break; | 79 | break; |
| 80 | case KC_B: | 80 | case KC_B: |
| 81 | host_clear_keyboard_report(); | ||
| 82 | host_send_keyboard_report(); | ||
| 83 | print("jump to bootloader... "); | 81 | print("jump to bootloader... "); |
| 84 | _delay_ms(1000); | 82 | _delay_ms(1000); |
| 85 | bootloader_jump(); // not return | 83 | bootloader_jump(); // not return |
| @@ -157,9 +155,6 @@ static uint8_t command_common(void) | |||
| 157 | break; | 155 | break; |
| 158 | #ifdef NKRO_ENABLE | 156 | #ifdef NKRO_ENABLE |
| 159 | case KC_N: | 157 | case KC_N: |
| 160 | // send empty report before change | ||
| 161 | host_clear_keyboard_report(); | ||
| 162 | host_send_keyboard_report(); | ||
| 163 | keyboard_nkro = !keyboard_nkro; | 158 | keyboard_nkro = !keyboard_nkro; |
| 164 | if (keyboard_nkro) | 159 | if (keyboard_nkro) |
| 165 | print("NKRO: enabled\n"); | 160 | print("NKRO: enabled\n"); |
| @@ -169,8 +164,6 @@ static uint8_t command_common(void) | |||
| 169 | #endif | 164 | #endif |
| 170 | #ifdef EXTRAKEY_ENABLE | 165 | #ifdef EXTRAKEY_ENABLE |
| 171 | case KC_ESC: | 166 | case KC_ESC: |
| 172 | host_clear_keyboard_report(); | ||
| 173 | host_send_keyboard_report(); | ||
| 174 | #ifdef HOST_PJRC | 167 | #ifdef HOST_PJRC |
| 175 | if (suspend && remote_wakeup) { | 168 | if (suspend && remote_wakeup) { |
| 176 | usb_remote_wakeup(); | 169 | usb_remote_wakeup(); |
