mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-24 02:10:46 +00:00
fix build with HAS_TELEMETRY 0 (#8051)
This commit is contained in:
parent
6f56ccd283
commit
44968415a5
@ -241,7 +241,7 @@ void setupModules()
|
||||
#if HAS_TELEMETRY
|
||||
new DeviceTelemetryModule();
|
||||
#endif
|
||||
#if HAS_SENSOR && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
||||
#if HAS_TELEMETRY && HAS_SENSOR && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
||||
if (moduleConfig.has_telemetry &&
|
||||
(moduleConfig.telemetry.environment_measurement_enabled || moduleConfig.telemetry.environment_screen_enabled)) {
|
||||
new EnvironmentTelemetryModule();
|
||||
|
Loading…
Reference in New Issue
Block a user