mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 19:20:41 +00:00
Switch EnvironmentTelemetry to use UnitConversions (#4972)
We already have a central class for unit conversions, switch EnvironmentTelemetry to that in preparation for HealthTelemetry.
This commit is contained in:
@@ -52,7 +52,6 @@ class EnvironmentTelemetryModule : private concurrency::OSThread, public Protobu
|
||||
meshtastic_AdminMessage *response) override;
|
||||
|
||||
private:
|
||||
float CelsiusToFahrenheit(float c);
|
||||
bool firstTime = 1;
|
||||
meshtastic_MeshPacket *lastMeasurementPacket;
|
||||
uint32_t sendToPhoneIntervalMs = SECONDS_IN_MINUTE * 1000; // Send to phone every minute
|
||||
|
||||
Reference in New Issue
Block a user