revert via.c

This commit is contained in:
Garretonzo 2024-11-01 21:57:14 -07:00
parent 4edc91618b
commit 168cabeaf1

View File

@ -374,9 +374,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
break;
}
case id_dynamic_keymap_set_keycode: {
uint16_t keycode = dynamic_keymap_get_keycode(command_data[0], command_data[1], command_data[2]);
dynamic_keymap_set_keycode(command_data[0], command_data[1], command_data[2], (command_data[3] << 8) | command_data[4]);
unregister_code(keycode);
break;
}
case id_dynamic_keymap_reset: {