From 58d72ad7950287d51a99814221962e5459709389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Wed, 15 Sep 2021 22:28:19 +0200 Subject: [PATCH] core: fix compilation issues with USB programmable buttons (#14454) Reported here: https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569 --- tmk_core/protocol/lufa/lufa.c | 2 ++ 1 file changed, 2 insertions(+) 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 *