exclude sensors when MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR set

This commit is contained in:
Oliver Seiler committed 2024-05-03 14:15:13 +12:00
1 parent 09080d76ad
commit be0e882be1
32 files changed
+148 -21

No files matched your search

@@ -1,3 +1,5 @@
#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#include "AirQualityTelemetry.h"
#include "../mesh/generated/meshtastic/telemetry.pb.h"
#include "Default.h"
@@ -130,3 +132,5 @@ bool AirQualityTelemetryModule::sendTelemetry(NodeNum dest, bool phoneOnly)
}
return true;
}
#endif