summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index cb3aa693b5..4a30d22579 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -761,6 +761,7 @@ static void send_mouse(report_mouse_t *report) {
#endif
}
+#if defined(EXTRAKEY_ENABLE) || defined(PROGRAMMABLE_BUTTON_ENABLE)
static void send_report(void *report, size_t size) {
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_ClearIN();
}
+#endif
/** \brief Send Extra
*