diff options
author | Joel Challis <git@zvecr.com> | 2020-04-01 21:06:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 21:06:22 +0100 |
commit | 58a9c84d6bb22c7544231f60acace4a85d6f8dd2 (patch) | |
tree | b66824a15543aad635de99fdb4db7768ab0c385b /tmk_core/protocol | |
parent | c217186bea9226f87ef4b8acc926c3f21a0fea85 (diff) | |
download | qmk_firmware-58a9c84d6bb22c7544231f60acace4a85d6f8dd2.tar.gz |
Strip out features to allow minimum firmware sizes (#8645)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r-- | tmk_core/protocol/vusb/vusb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index 95c59d493..00314ebe8 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c @@ -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 |