From 8822f8b685d4cc9a6e80deb658cca441103f5afe Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Wed, 28 Jan 2026 11:07:58 -0600 Subject: [PATCH] Unbreak targets with EXCLUDE_INPUTBROKER --- src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 17fc385db..68eda2d0d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -950,8 +950,10 @@ void setup() nodeDB->hasWarned = true; } #endif - - inputBroker->Init(); +#if !MESHTASTIC_EXCLUDE_INPUTBROKER + if (inputBroker) + inputBroker->Init(); +#endif #ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS // After modules are setup, so we can observe modules