Telemetry phone api guard (#1805)

* Delay start of telemetry modules

* Don't send unless our toPhoneQueue is empty

* Get wrecked, checks!
This commit is contained in:
Ben Meadors authored and GitHub committed 2022-10-16 09:58:58 -05:00
1 parent 44529620ad
commit 45f9dee89a
6 files changed
+15 -4

No files matched your search

+5
View File
@@ -283,3 +283,8 @@ int MeshService::onGPSChanged(const meshtastic::GPSStatus *newStatus)
return 0;
}
bool MeshService::isToPhoneQueueEmpty()
{
return toPhoneQueue.isEmpty();
}