summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-02-14 11:20:57 +1100
committerGitHub <noreply@github.com>2021-02-14 11:20:57 +1100
commit101990139f3efc0d61491d58f41474f5bc039c66 (patch)
tree20f398f17e262ac74bfb1f2d19a17cd027577321
parent8af7e5ea81f6120b5ce13212b8acbb58ee66c0a5 (diff)
Disable VIA protocol's EEPROM reset and bootloader jump commands (#11892)0.11.65
* Disable VIA protocol's EEPROM reset and bootloader jump commands, and allow for reinstation through #define. * Removed at Wilba's suggestion.
-rw-r--r--quantum/via.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/quantum/via.c b/quantum/via.c
index 7c3b7f9248..62a16624f2 100644
--- a/quantum/via.c
+++ b/quantum/via.c
@@ -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