ATAK module should be disabled for non-TAK roles (#7928)

This commit is contained in:
Ben Meadors
2025-09-08 17:21:55 -05:00
committed by GitHub
parent 6c69780615
commit 803e96800e

View File

@@ -141,7 +141,10 @@ void setupModules()
detectionSensorModule = new DetectionSensorModule(); detectionSensorModule = new DetectionSensorModule();
#endif #endif
#if !MESHTASTIC_EXCLUDE_ATAK #if !MESHTASTIC_EXCLUDE_ATAK
atakPluginModule = new AtakPluginModule(); if (IS_ONE_OF(config.device.role, meshtastic_Config_DeviceConfig_Role_TAK,
meshtastic_Config_DeviceConfig_Role_TAK_TRACKER)) {
atakPluginModule = new AtakPluginModule();
}
#endif #endif
#if !MESHTASTIC_EXCLUDE_PKI #if !MESHTASTIC_EXCLUDE_PKI
keyVerificationModule = new KeyVerificationModule(); keyVerificationModule = new KeyVerificationModule();