Fixed hasPendingWork for BLE companions

Dieser Commit ist enthalten in:
Kevin Le
2026-05-22 10:58:21 +07:00
Ursprung 280213d41f
Commit da7663a6fb
-3
Datei anzeigen
@@ -2225,8 +2225,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;
}