mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 09:43:03 +00:00
Update lastSentToPhone after sendTelemetry (#2522)
This commit is contained in:
@@ -116,6 +116,7 @@ int32_t EnvironmentTelemetryModule::runOnce()
|
||||
// Just send to phone when it's not our time to send to mesh yet
|
||||
// Only send while queue is empty (phone assumed connected)
|
||||
sendTelemetry(NODENUM_BROADCAST, true);
|
||||
lastSentToPhone = now;
|
||||
}
|
||||
}
|
||||
return min(sendToPhoneIntervalMs, result);
|
||||
|
||||
Reference in New Issue
Block a user