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