pico: via: building default keymaps fails on missing raw_hid_receive (#218)
minor build fix: building a default keymap that does not enable VIA(L) leads to linker error, since raw_hid_receive is only available with VIA enabled, implemented in quantum/via.c Signed-off-by: Johannes Schneider <johschneider@googlemail.com> Co-authored-by: Johannes <you@example.com>
This commit is contained in:
parent
973c4588d7
commit
55a7482e07
1 changed files with 2 additions and 0 deletions
|
|
@ -272,9 +272,11 @@ void tud_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t rep
|
|||
// LED status
|
||||
keyboard_indicator_led = buffer[0];
|
||||
break;
|
||||
#ifdef VIA_ENABLE
|
||||
case ITF_NUM_HID_RAW:
|
||||
raw_hid_receive((uint8_t*)buffer, bufsize);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue