Fixed hasPendingWork for BLE companions.

This commit is contained in:
Kevin Le committed 2026-05-21 18:54:56 +07:00
1 parent e59a3f5c21
commit c15fdfeaf9
1 file changed
-3
-3
View File
@@ -2223,8 +2223,5 @@ bool MyMesh::advert() {
// To check if there is pending work
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;
}