mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +00:00
Fix stm32 compile error regarding inputBroker
This commit is contained in:
parent
c67a0103ab
commit
0fe462e74a
@ -1323,13 +1323,14 @@ void AdminModule::handleSendInputEvent(const meshtastic_AdminMessage_InputEvent
|
|||||||
|
|
||||||
// Wake the device if asleep
|
// Wake the device if asleep
|
||||||
powerFSM.trigger(EVENT_INPUT);
|
powerFSM.trigger(EVENT_INPUT);
|
||||||
|
#if !defined(MESHTASTIC_EXCLUDE_INPUTBROKER)
|
||||||
// Inject the event through InputBroker
|
// Inject the event through InputBroker
|
||||||
if (inputBroker) {
|
if (inputBroker) {
|
||||||
inputBroker->injectInputEvent(&event);
|
inputBroker->injectInputEvent(&event);
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR("InputBroker not available for event injection");
|
LOG_ERROR("InputBroker not available for event injection");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdminModule::sendWarning(const char *message)
|
void AdminModule::sendWarning(const char *message)
|
||||||
|
Loading…
Reference in New Issue
Block a user