Add HAS_SENSOR flag

To separate DeviceTelemetry and EnvironmentTelemetry
This commit is contained in:
GUVWAF
2023-02-11 10:08:25 +01:00
parent a280d7f796
commit 680550b76c
5 changed files with 14 additions and 4 deletions

View File

@@ -52,7 +52,6 @@ SHT31Sensor sht31Sensor;
int32_t EnvironmentTelemetryModule::runOnce()
{
#ifndef ARCH_PORTDUINO
int32_t result = INT32_MAX;
/*
Uncomment the preferences below if you want to use the module
@@ -115,7 +114,6 @@ int32_t EnvironmentTelemetryModule::runOnce()
}
}
return sendToPhoneIntervalMs;
#endif
}
bool EnvironmentTelemetryModule::wantUIFrame()