mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-03 18:56:15 +00:00
Fixed hasPendingWork for BLE companions
This commit is contained in:
@@ -2225,8 +2225,5 @@ bool MyMesh::advert() {
|
|||||||
|
|
||||||
// To check if there is pending work
|
// To check if there is pending work
|
||||||
bool MyMesh::hasPendingWork() const {
|
bool MyMesh::hasPendingWork() const {
|
||||||
#if defined(WITH_BRIDGE)
|
|
||||||
if (bridge.isRunning()) return true; // bridge needs WiFi radio, can't sleep
|
|
||||||
#endif
|
|
||||||
return _mgr->getOutboundTotal() > 0;
|
return _mgr->getOutboundTotal() > 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user