Strip out features to allow minimum firmware sizes (#8645)
This commit is contained in:
committed by
Florian Didron
parent
9362382ac0
commit
3cc7234810
@@ -159,10 +159,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