From 6dfe5a80fd59d7941634ea7e6dfb92c1a7b7dab0 Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Sat, 5 Mar 2022 19:55:16 +0100 Subject: [PATCH] Update wifimgr --- lib/ESP_WiFiManager/ESP_WiFiManager.hpp | 3 ++- src/wifi.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ESP_WiFiManager/ESP_WiFiManager.hpp b/lib/ESP_WiFiManager/ESP_WiFiManager.hpp index 448d457..9ef3db3 100644 --- a/lib/ESP_WiFiManager/ESP_WiFiManager.hpp +++ b/lib/ESP_WiFiManager/ESP_WiFiManager.hpp @@ -243,7 +243,8 @@ const char WM_HTTP_ITEM[] PROGMEM = "
{v} const char JSON_ITEM[] PROGMEM = "{\"SSID\":\"{v}\", \"Encryption\":{i}, \"Quality\":\"{r}\"}"; // KH, update from v1.1.0 -const char WM_HTTP_FORM_START[] PROGMEM = "
"; +//const char WM_HTTP_FORM_START[] PROGMEM = "
"; +extern const char WM_HTTP_FORM_START[] PROGMEM; ////// // KH, add from v1.0.10 diff --git a/src/wifi.cpp b/src/wifi.cpp index 23ddd42..1daa30e 100644 --- a/src/wifi.cpp +++ b/src/wifi.cpp @@ -57,6 +57,7 @@ SOFTWARE. #define USING_CORS_FEATURE false #define NUM_WIFI_CREDENTIALS 1 #define USE_STATIC_IP_CONFIG_IN_CP false +#define _WIFIMGR_LOGLEVEL_ 3 #include // Override the look and feel of the standard ui (hide secondary forms) const char WM_HTTP_FORM_START[] PROGMEM = @@ -69,7 +70,6 @@ const char WM_HTTP_FORM_START[] PROGMEM = "placeholder='SSID1'>
"; -#include ESP_WiFiManager *myWifiManager; DoubleResetDetector *myDRD;