From 0b55399b56118a678d9ae53c1b7f632d33fdfca4 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sun, 28 Sep 2025 12:47:40 -0500 Subject: [PATCH] Fixed bad if/else block --- src/modules/Modules.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/modules/Modules.cpp b/src/modules/Modules.cpp index fbc16f2c4..48e6087bb 100644 --- a/src/modules/Modules.cpp +++ b/src/modules/Modules.cpp @@ -295,16 +295,6 @@ void setupModules() #if !MESHTASTIC_EXCLUDE_RANGETEST && !MESHTASTIC_EXCLUDE_GPS if (moduleConfig.has_range_test && moduleConfig.range_test.enabled) new RangeTestModule(); -#endif - } else { -#if !MESHTASTIC_EXCLUDE_ADMIN - adminModule = new AdminModule(); -#endif -#if HAS_TELEMETRY - new DeviceTelemetryModule(); -#endif -#if !MESHTASTIC_EXCLUDE_TRACEROUTE - traceRouteModule = new TraceRouteModule(); #endif } // NOTE! This module must be added LAST because it likes to check for replies from other modules and avoid sending extra