Fixed incorrect connection failure situation with ESP8266

pull/41/head
Hieromon Ikasamo 6 years ago
parent 6aa77694bc
commit d500b7f2e3
  1. 2
      src/AutoConnectPage.cpp

@ -894,7 +894,7 @@ String AutoConnect::_token_STATION_STATUS(PageArgument& args) {
"CONNECT_FAIL",
"GOT_IP"
};
switch (_rsConnect) {
switch (wifi_station_get_connect_status()) {
case STATION_IDLE:
wlStatusSymbol = wlStatusSymbols[0];
break;

Loading…
Cancel
Save