aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/via.c b/quantum/via.c
index f2599d1d2..7c3b7f924 100644
--- a/quantum/via.c
+++ b/quantum/via.c
@@ -186,7 +186,7 @@ bool process_record_via(uint16_t keycode, keyrecord_t *record) {
186 186
187// Keyboard level code can override this to handle custom messages from VIA. 187// Keyboard level code can override this to handle custom messages from VIA.
188// See raw_hid_receive() implementation. 188// See raw_hid_receive() implementation.
189// DO NOT call raw_hid_send() in the overide function. 189// DO NOT call raw_hid_send() in the override function.
190__attribute__((weak)) void raw_hid_receive_kb(uint8_t *data, uint8_t length) { 190__attribute__((weak)) void raw_hid_receive_kb(uint8_t *data, uint8_t length) {
191 uint8_t *command_id = &(data[0]); 191 uint8_t *command_id = &(data[0]);
192 *command_id = id_unhandled; 192 *command_id = id_unhandled;