Add missing excludes to environmental sensors (#4033)

* DF Robot Lark weather station support

* Missed it

* I am a man of const char sorrow...

* Strang

* Use our fork

* Add excludes
This commit is contained in:
Ben Meadors
2024-06-04 07:04:25 -05:00
committed by GitHub
parent a218c6fb4d
commit 9632e4c405
6 changed files with 44 additions and 12 deletions

View File

@@ -1,7 +1,11 @@
#include "VEML7700Sensor.h"
#include "configuration.h"
#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#include "../mesh/generated/meshtastic/telemetry.pb.h"
#include "TelemetrySensor.h"
#include "configuration.h"
#include "VEML7700Sensor.h"
#include <Adafruit_VEML7700.h>
#include <typeinfo>
@@ -57,4 +61,5 @@ bool VEML7700Sensor::getMetrics(meshtastic_Telemetry *measurement)
measurement->variant.environment_metrics.lux);
return true;
}
}
#endif