MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements

This commit is contained in:
Oliver Seiler
2024-04-29 22:10:49 +12:00
parent 668b716119
commit 077ca5919a
37 changed files with 90 additions and 30 deletions

View File

@@ -1,9 +1,10 @@
#if HAS_TELEMETRY
#include "configuration.h"
#if HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#include "INA3221Sensor.h"
#include "../mesh/generated/meshtastic/telemetry.pb.h"
#include "TelemetrySensor.h"
#include "configuration.h"
#include <INA3221.h>
INA3221Sensor::INA3221Sensor() : TelemetrySensor(meshtastic_TelemetrySensorType_INA3221, "INA3221"){};