Skip to content

Commit

Permalink
Fix Trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
fifieldt committed Oct 3, 2024
1 parent ef3265b commit 7aa690c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/modules/Telemetry/HealthTelemetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -265,6 +265,6 @@ bool HealthTelemetryModule::sendTelemetry(NodeNum dest, bool phoneOnly)
}
return false;
}
}
} // namespace concurrency

#endif
4 changes: 1 addition & 3 deletions src/modules/Telemetry/HealthTelemetry.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
class HealthTelemetryModule : private concurrency::OSThread, public ProtobufModule<meshtastic_Telemetry>
{
CallbackObserver<HealthTelemetryModule, const meshtastic::Status *> nodeStatusObserver =
CallbackObserver<HealthTelemetryModule, const meshtastic::Status *>(this,
&HealthTelemetryModule::handleStatusUpdate);
CallbackObserver<HealthTelemetryModule, const meshtastic::Status *>(this, &HealthTelemetryModule::handleStatusUpdate);

public:
HealthTelemetryModule()
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7aa690c

Please sign in to comment.