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
2022-10-16 09:58:58 -05:00
committed by GitHub
parent 44529620ad
commit 45f9dee89a
6 changed files with 15 additions and 4 deletions

View File

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