mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 14:42:05 +00:00
fixed log info messages and removed unused dependency
This commit is contained in:
parent
fe263ee32e
commit
0017a78850
@ -6,13 +6,12 @@
|
|||||||
#include "LTR390UVSensor.h"
|
#include "LTR390UVSensor.h"
|
||||||
#include "TelemetrySensor.h"
|
#include "TelemetrySensor.h"
|
||||||
#include <Adafruit_LTR390.h>
|
#include <Adafruit_LTR390.h>
|
||||||
#include <typeinfo>
|
|
||||||
|
|
||||||
LTR390UVSensor::LTR390UVSensor() : TelemetrySensor(meshtastic_TelemetrySensorType_LTR390UV, "LTR390UV") {}
|
LTR390UVSensor::LTR390UVSensor() : TelemetrySensor(meshtastic_TelemetrySensorType_LTR390UV, "LTR390UV") {}
|
||||||
|
|
||||||
int32_t LTR390UVSensor::runOnce()
|
int32_t LTR390UVSensor::runOnce()
|
||||||
{
|
{
|
||||||
LOG_INFO("Init sensor: %s with x3 gain and 18bit resolution", sensorName);
|
LOG_INFO("Init sensor: %s", sensorName);
|
||||||
if (!hasSensor()) {
|
if (!hasSensor()) {
|
||||||
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
|
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user