tryfix random values (#4034)

This commit is contained in:
Thomas Göttgens authored and GitHub committed 2024-06-04 08:14:27 -05:00
1 parent 9632e4c405
commit 181f03cb95
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ bool PowerTelemetryModule::handleReceivedProtobuf(const meshtastic_MeshPacket &m
bool PowerTelemetryModule::sendTelemetry(NodeNum dest, bool phoneOnly)
{
meshtastic_Telemetry m;
meshtastic_Telemetry m = meshtastic_Telemetry_init_zero;
bool valid = false;
m.time = getTime();
m.which_variant = meshtastic_Telemetry_power_metrics_tag;