RangeTest must be enabled

This commit is contained in:
Ben Meadors 2025-09-09 10:53:18 -05:00
parent 31fdb36987
commit 0cd860e300

View File

@ -276,7 +276,8 @@ void setupModules()
externalNotificationModule = new ExternalNotificationModule();
#endif
#if !MESHTASTIC_EXCLUDE_RANGETEST && !MESHTASTIC_EXCLUDE_GPS
new RangeTestModule();
if (moduleConfig.has_range_test && moduleConfig.range_test.enabled)
new RangeTestModule();
#endif
} else {
#if !MESHTASTIC_EXCLUDE_ADMIN