From d500b7f2e3e236cc7ed9f083a9058074176e5712 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Fri, 18 Jan 2019 09:34:02 +0900 Subject: [PATCH] Fixed incorrect connection failure situation with ESP8266 --- src/AutoConnectPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index 0260e85..13e7caa 100644 --- a/src/AutoConnectPage.cpp +++ b/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;