Răsfoiți Sursa

Fixed hasPendingWork for BLE companions

Kevin Le 2 luni în urmă
părinte
comite
da7663a6fb
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      examples/companion_radio/MyMesh.cpp

+ 0 - 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;
 }