Strip out features to allow minimum firmware sizes (#8645)

This commit is contained in:
Joel Challis authored and GitHub committed 2020-04-01 21:06:22 +01:00
1 parent c217186bea
commit 58a9c84d6b
6 files changed
+30 -11

No files matched your search

+2
View File
@@ -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