Call raw_hid_recieve_kb in via.c as a fallback on invalid cmd

This commit is contained in:
Jan Lunge 2021-05-19 23:02:34 -04:00 committed by Ilya Zhuravlev
parent 1883498ae2
commit afb490c297

View File

@ -435,9 +435,8 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
}
#endif
default: {
// The command ID is not known
// Return the unhandled state
*command_id = id_unhandled;
// The command ID is not known let the keyboard implement it
raw_hid_receive_kb(data, length);
break;
}
}