From 0fe462e74a6040325cb7012dd568341eb4113622 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Fri, 13 Jun 2025 01:57:07 -0500 Subject: [PATCH] Fix stm32 compile error regarding inputBroker --- src/modules/AdminModule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/AdminModule.cpp b/src/modules/AdminModule.cpp index efbc20126..ccd079ac5 100644 --- a/src/modules/AdminModule.cpp +++ b/src/modules/AdminModule.cpp @@ -1323,13 +1323,14 @@ void AdminModule::handleSendInputEvent(const meshtastic_AdminMessage_InputEvent // Wake the device if asleep powerFSM.trigger(EVENT_INPUT); - +#if !defined(MESHTASTIC_EXCLUDE_INPUTBROKER) // Inject the event through InputBroker if (inputBroker) { inputBroker->injectInputEvent(&event); } else { LOG_ERROR("InputBroker not available for event injection"); } +#endif } void AdminModule::sendWarning(const char *message)