Supports ESP32

pull/11/head
Hieromon Ikasamo 6 years ago
parent bcf2757968
commit 84f6a76775
  1. 2
      .travis.yml
  2. 6
      src/AutoConnectPage.cpp

@ -16,9 +16,7 @@ install:
- ln -s $PWD /usr/local/share/arduino/libraries/AutoConnect
- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json" --save-prefs
- arduino --install-boards esp8266:esp8266
- arduino --board $BD1 --save-prefs
- arduino --install-boards esp32:esp32
- arduino --board $BD2 --save-prefs
- arduino --pref "compiler.warning_level=all" --save-prefs
# - arduino --install-library "PageBuilder"
- git clone https://github.com/Hieromon/PageBuilder /usr/local/share/arduino/libraries/PageBuilder

@ -860,8 +860,7 @@ String AutoConnect::_token_STATION_STATUS(PageArgument& args) {
"CONNECTED",
"CONNECT_FAILED",
"CONNECTION_LOST",
"DISCONNECTED",
"NO_SHIELD"
"DISCONNECTED"
};
st = WiFi.status();
switch (st) {
@ -886,9 +885,6 @@ String AutoConnect::_token_STATION_STATUS(PageArgument& args) {
case WL_DISCONNECTED:
wlStatusSymbol = wlStatusSymbols[6];
break;
case WL_NO_SHIELD:
wlStatusSymbol = wlStatusSymbols[7];
break;
}
#endif

Loading…
Cancel
Save