Browse Source

Disable VIA protocol's EEPROM reset and bootloader jump commands (#11892)

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

* Removed at Wilba's suggestion.
pull/11885/head 0.11.65
Nick Brassel 3 years ago
committed by GitHub
parent
commit
101990139f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      quantum/via.c

+ 0
- 13
quantum/via.c View File

@ -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


Loading…
Cancel
Save