Strip out features to allow minimum firmware sizes (#8645)
This commit is contained in:
@ -158,10 +158,12 @@ typedef struct {
|
||||
} __attribute__((packed)) vusb_mouse_report_t;
|
||||
|
||||
static void send_mouse(report_mouse_t *report) {
|
||||
#if defined(MOUSE_ENABLE)
|
||||
vusb_mouse_report_t r = {.report_id = REPORT_ID_MOUSE, .report = *report};
|
||||
if (usbInterruptIsReady3()) {
|
||||
usbSetInterrupt3((void *)&r, sizeof(vusb_mouse_report_t));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef EXTRAKEY_ENABLE
|
||||
|
Reference in New Issue
Block a user