1
0
Fork 0

Fix typo in via.c (#10000)

This commit is contained in:
Wilba 2020-09-21 21:21:19 +10:00 committed by GitHub
parent 7f34a6b635
commit bc7a745227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,7 +186,7 @@ bool process_record_via(uint16_t keycode, keyrecord_t *record) {
// Keyboard level code can override this to handle custom messages from VIA. // Keyboard level code can override this to handle custom messages from VIA.
// See raw_hid_receive() implementation. // See raw_hid_receive() implementation.
// DO NOT call raw_hid_send() in the overide function. // DO NOT call raw_hid_send() in the override function.
__attribute__((weak)) void raw_hid_receive_kb(uint8_t *data, uint8_t length) { __attribute__((weak)) void raw_hid_receive_kb(uint8_t *data, uint8_t length) {
uint8_t *command_id = &(data[0]); uint8_t *command_id = &(data[0]);
*command_id = id_unhandled; *command_id = id_unhandled;