Merge pull request #1609 from weebl2000/bridge-always-has-work

Bridge always has work (prevents sleep)
Этот коммит содержится в:
ripplebiz
2026-02-08 22:42:05 +11:00
коммит произвёл GitHub
родитель 736ddbfd99 c4c287d01b
Коммит f6fc05601c
+3
Просмотреть файл
@@ -1219,5 +1219,8 @@ void MyMesh::loop() {
// 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->getOutboundCount(0xFFFFFFFF) > 0;
}