瀏覽代碼

Update ESPAsyncWiFiManager.cpp

Debashish Sahu 6 年之前
父節點
當前提交
a0d0a09db2
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      ESPAsyncWiFiManager.cpp

+ 4 - 2
ESPAsyncWiFiManager.cpp

@@ -446,8 +446,10 @@ boolean  AsyncWiFiManager::startConfigPortal(char const *apName, char const *apP
   scannow= -1 ;
   while (_configPortalTimeout == 0 || millis() < _configPortalStart + _configPortalTimeout) {
     //DNS
-    //dnsServer->processNextRequest();
-
+    #ifndef USE_EADNS	
+    dnsServer->processNextRequest();
+    #endif
+	
     //
     //  we should do a scan every so often here
     //