Skip to content

Commit

Permalink
Disable VIA protocol's EEPROM reset and bootloader jump commands (qmk…
Browse files Browse the repository at this point in the history
…#11892)

* Disable VIA protocol's EEPROM reset and bootloader jump commands, and allow for reinstation through #define.

* Removed at Wilba's suggestion.
  • Loading branch information
tzarc authored Feb 14, 2021
1 parent f61aa35 commit 439bb49
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions quantum/via.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,19 +370,6 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
dynamic_keymap_set_buffer(offset, size, &command_data[3]);
break;
}
case id_eeprom_reset: {
via_eeprom_reset();
break;
}
case id_bootloader_jump: {
// Need to send data back before the jump
// Informs host that the command is handled
raw_hid_send(data, length);
// Give host time to read it
wait_ms(100);
bootloader_jump();
break;
}
default: {
// The command ID is not known
// Return the unhandled state
Expand Down

0 comments on commit 439bb49

Please sign in to comment.