Browse Source

Fixed hasPendingWork for BLE companions

pull/2286/head
Kevin Le 2 weeks ago
parent
commit
da7663a6fb
  1. 3
      examples/companion_radio/MyMesh.cpp

3
examples/companion_radio/MyMesh.cpp

@ -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;
}

Loading…
Cancel
Save