Improved code readability

pull/41/head
Hieromon Ikasamo 6 years ago
parent 48c6ea8b4e
commit c428a33aa9
  1. 1
      src/AutoConnect.cpp
  2. 1
      src/AutoConnect.h
  3. 5
      src/AutoConnectDefs.h
  4. 761
      src/AutoConnectPage.cpp

@ -706,7 +706,6 @@ String AutoConnect::_induceConnect(PageArgument& args) {
// Turn on the trigger to start WiFi.begin(). // Turn on the trigger to start WiFi.begin().
_rfConnect = true; _rfConnect = true;
_menuTitle = String(F(AUTOCONNECT_CONNECTING_TITLE));
// Since v0.9.7, the redirect method changed from a 302 response to the // Since v0.9.7, the redirect method changed from a 302 response to the
// meta tag with refresh attribute. // meta tag with refresh attribute.

@ -336,7 +336,6 @@ class AutoConnect {
String _token_UPTIME(PageArgument& args); String _token_UPTIME(PageArgument& args);
String _token_BOOTURI(PageArgument& args); String _token_BOOTURI(PageArgument& args);
String _token_CURRENT_SSID(PageArgument& args); String _token_CURRENT_SSID(PageArgument& args);
String _token_RESULT_URI(PageArgument& args);
#if defined(ARDUINO_ARCH_ESP8266) #if defined(ARDUINO_ARCH_ESP8266)
friend class ESP8266WebServer; friend class ESP8266WebServer;

@ -76,11 +76,6 @@
#define AUTOCONNECT_MENU_TITLE "AutoConnect" #define AUTOCONNECT_MENU_TITLE "AutoConnect"
#endif // !AUTOCONNECT_MENU_TITLE #endif // !AUTOCONNECT_MENU_TITLE
// AutoConnect title for during a connection attempting
#ifndef AUTOCONNECT_CONNECTING_TITLE
#define AUTOCONNECT_CONNECTING_TITLE "Connecting"
#endif // !AUTOCONNECT_CONNECTING_TITLE
// URIs of AutoConnect menu collection // URIs of AutoConnect menu collection
#define AUTOCONNECT_URI_CONFIG AUTOCONNECT_URI "/config" #define AUTOCONNECT_URI_CONFIG AUTOCONNECT_URI "/config"
#define AUTOCONNECT_URI_CONNECT AUTOCONNECT_URI "/connect" #define AUTOCONNECT_URI_CONNECT AUTOCONNECT_URI "/connect"

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save