Fix. The library is not assembled under ESP8266

This commit is contained in:
Evgenii Grekov
2020-12-16 15:17:38 +05:00
parent 82701d9ec7
commit 1e85c0e35e
+1 -1
View File
@@ -3167,7 +3167,7 @@ bool WiFiManager::WiFiSetCountry(){
*/
esp_err_t ret = false;
bool ret = false;
// ret = esp_wifi_set_bandwidth(WIFI_IF_AP,WIFI_BW_HT20); // WIFI_BW_HT40
#ifdef ESP32
// @todo check if wifi is init, no idea how, doesnt seem to be exposed atm ( might be now! )