Fix typo in via.c (#10000)

master
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
1 changed files with 1 additions and 1 deletions

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;