Ver Fonte

Fixed hasPendingWork for BLE companions

Kevin Le há 2 meses atrás
pai
commit
da7663a6fb
1 ficheiros alterados com 0 adições e 3 exclusões
  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;
 }