Bridge always has work (prevents sleep)

Этот коммит содержится в:
Wessel Nieboer
2026-02-07 15:39:24 +01:00
родитель bcb7a8067e
Коммит c4c287d01b
+3
Просмотреть файл
@@ -1219,5 +1219,8 @@ void MyMesh::loop() {
// 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->getOutboundCount(0xFFFFFFFF) > 0; return _mgr->getOutboundCount(0xFFFFFFFF) > 0;
} }