Merge branch 'development' into esp32

This commit is contained in:
Shawn A
2018-01-28 09:57:44 -06:00
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -91,6 +91,7 @@ WiFiManager::WiFiManager(Stream& consolePort):_debugPort(consolePort) {
}
WiFiManager::WiFiManager():_debugPort(Serial) {
if(_debug) debugPlatformInfo();
_usermode = WiFi.getMode();
WiFi.persistent(false); // disable persistent so scannetworks and mode switching do not cause overwrites
}
@@ -1395,6 +1396,12 @@ void WiFiManager::debugSoftAPConfig(){
#endif
}
void WiFiManager::debugPlatformInfo(){
system_print_meminfo();
DEBUG_WM("getCoreVersion(): ",ESP.getCoreVersion());
DEBUG_WM("system_get_sdk_version(): ",system_get_sdk_version());
DEBUG_WM("system_get_boot_version(): ",system_get_boot_version());
}
int WiFiManager::getRSSIasQuality(int RSSI) {
int quality = 0;