Skip to content

Commit

Permalink
Call raw_hid_recieve_kb in via.c as a fallback on invalid cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lunge authored and xyzz committed May 20, 2021
1 parent 1883498 commit afb490c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions quantum/via.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit afb490c

Please sign in to comment.