diff options
| author | QMK Bot <hello@qmk.fm> | 2021-02-14 00:21:30 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-02-14 00:21:30 +0000 |
| commit | 72e515547aedbfd0b91296a51a81861236be8fe5 (patch) | |
| tree | 7d2512fdb466a6714693f583cc21a768773b4ba1 | |
| parent | cd336b2b545798269405e8ffef0fe8958d4d27d4 (diff) | |
| parent | 101990139f3efc0d61491d58f41474f5bc039c66 (diff) | |
| download | qmk_firmware-72e515547aedbfd0b91296a51a81861236be8fe5.tar.gz qmk_firmware-72e515547aedbfd0b91296a51a81861236be8fe5.zip | |
Merge remote-tracking branch 'origin/master' into develop
| -rw-r--r-- | quantum/via.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/quantum/via.c b/quantum/via.c index 7c3b7f924..62a16624f 100644 --- a/quantum/via.c +++ b/quantum/via.c | |||
| @@ -370,19 +370,6 @@ void raw_hid_receive(uint8_t *data, uint8_t length) { | |||
| 370 | dynamic_keymap_set_buffer(offset, size, &command_data[3]); | 370 | dynamic_keymap_set_buffer(offset, size, &command_data[3]); |
| 371 | break; | 371 | break; |
| 372 | } | 372 | } |
| 373 | case id_eeprom_reset: { | ||
| 374 | via_eeprom_reset(); | ||
| 375 | break; | ||
| 376 | } | ||
| 377 | case id_bootloader_jump: { | ||
| 378 | // Need to send data back before the jump | ||
| 379 | // Informs host that the command is handled | ||
| 380 | raw_hid_send(data, length); | ||
| 381 | // Give host time to read it | ||
| 382 | wait_ms(100); | ||
| 383 | bootloader_jump(); | ||
| 384 | break; | ||
| 385 | } | ||
| 386 | default: { | 373 | default: { |
| 387 | // The command ID is not known | 374 | // The command ID is not known |
| 388 | // Return the unhandled state | 375 | // Return the unhandled state |
