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 "INA260Sensor.h"
#include "../mesh/generated/meshtastic/telemetry.pb.h"
#include "TelemetrySensor.h"
#include "configuration.h"
#include <Adafruit_INA260.h>
INA260Sensor::INA260Sensor() : TelemetrySensor(meshtastic_TelemetrySensorType_INA260, "INA260") {}