mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 14:40:38 +00:00
core: fix compilation issues with USB programmable buttons (#14454)
Reported here: https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569
This commit is contained in:
parent
a677f00502
commit
58d72ad795
@ -761,6 +761,7 @@ static void send_mouse(report_mouse_t *report) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(EXTRAKEY_ENABLE) || defined(PROGRAMMABLE_BUTTON_ENABLE)
|
||||||
static void send_report(void *report, size_t size) {
|
static void send_report(void *report, size_t size) {
|
||||||
uint8_t timeout = 255;
|
uint8_t timeout = 255;
|
||||||
|
|
||||||
@ -775,6 +776,7 @@ static void send_report(void *report, size_t size) {
|
|||||||
Endpoint_Write_Stream_LE(report, size, NULL);
|
Endpoint_Write_Stream_LE(report, size, NULL);
|
||||||
Endpoint_ClearIN();
|
Endpoint_ClearIN();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/** \brief Send Extra
|
/** \brief Send Extra
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user