diff --git a/src/modules/Telemetry/HealthTelemetry.cpp b/src/modules/Telemetry/HealthTelemetry.cpp index 72b40ff467..59b432a297 100644 --- a/src/modules/Telemetry/HealthTelemetry.cpp +++ b/src/modules/Telemetry/HealthTelemetry.cpp @@ -19,9 +19,9 @@ // Sensors // TODO +#include "Sensor/BloodPressureSensor.h" #include "Sensor/HeartRateSensor.h" #include "Sensor/TemperatureSensor.h" -#include "Sensor/BloodPressureSensor.h" HeartRateSensor heartRateSensor; TemperatureSensor temperatureSensor; @@ -265,6 +265,6 @@ bool HealthTelemetryModule::sendTelemetry(NodeNum dest, bool phoneOnly) } return false; } -} +} // namespace concurrency #endif \ No newline at end of file diff --git a/src/modules/Telemetry/HealthTelemetry.h b/src/modules/Telemetry/HealthTelemetry.h index 6ca45b3354..c52fa72245 100644 --- a/src/modules/Telemetry/HealthTelemetry.h +++ b/src/modules/Telemetry/HealthTelemetry.h @@ -10,8 +10,7 @@ class HealthTelemetryModule : private concurrency::OSThread, public ProtobufModule { CallbackObserver nodeStatusObserver = - CallbackObserver(this, - &HealthTelemetryModule::handleStatusUpdate); + CallbackObserver(this, &HealthTelemetryModule::handleStatusUpdate); public: HealthTelemetryModule() @@ -39,7 +38,6 @@ class HealthTelemetryModule : private concurrency::OSThread, public ProtobufModu */ bool sendTelemetry(NodeNum dest = NODENUM_BROADCAST, bool wantReplies = false); - private: bool firstTime = 1; meshtastic_MeshPacket *lastMeasurementPacket;