tryfix random values (#4034)

This commit is contained in:
Thomas Göttgens
2024-06-04 15:14:27 +02:00
committed by GitHub
parent 9632e4c405
commit 181f03cb95
4 changed files with 5 additions and 5 deletions

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;