Update README.md

Disable conversion function when not building for ESP8266
This commit is contained in:
Rick Watson
2018-11-11 20:10:21 +00:00
parent b00660533d
commit 2f508c738f
2 changed files with 29 additions and 1 deletions

View File

@ -40,6 +40,7 @@ void WiFiScanner::listNetworks(AsyncWebServerRequest *request) {
}
}
#if defined(ESP8266)
/*
* Convert encryption type to standard used by ESP32 rather than the translated form which the esp8266 libaries expose.
*
@ -60,3 +61,4 @@ uint8_t WiFiScanner::convertEncryptionType(uint8_t encryptionType){
}
return -1;
}
#endif