From e759a488473569060cd1ddf9107733a02b3eace7 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Fri, 18 Dec 2020 16:26:34 -0600 Subject: [PATCH] esp temp and hall test --- WiFiManager.cpp | 2 +- strings_en.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 240ef59..20e5c35 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -3171,7 +3171,7 @@ bool WiFiManager::WiFiSetCountry(){ * - others: refer to error codes in esp_err.h */ - + // @todo move these definitions, and out of cpp `esp_wifi_set_country(&WM_COUNTRY_US)` bool ret = false; // ret = esp_wifi_set_bandwidth(WIFI_IF_AP,WIFI_BW_HT20); // WIFI_BW_HT40 #ifdef ESP32 diff --git a/strings_en.h b/strings_en.h index 4699001..cd4ffee 100644 --- a/strings_en.h +++ b/strings_en.h @@ -160,9 +160,10 @@ const char HTTP_JS[] PROGMEM = #ifdef ESP32 const char HTTP_INFO_esphead[] PROGMEM = "

esp32


"; const char HTTP_INFO_chiprev[] PROGMEM = "
Chip Rev
{1}
"; - const char HTTP_INFO_lastreset[] PROGMEM = "
Last reset reason
CPU0: {1}
CPU1: {2}
"; - const char HTTP_INFO_aphost[] PROGMEM = "
Acccess Point Hostname
{1}
"; + const char HTTP_INFO_lastreset[] PROGMEM = "
Last reset reason
CPU0: {1}
CPU1: {2}
"; + const char HTTP_INFO_aphost[] PROGMEM = "
Acccess Point Hostname
{1}
"; const char HTTP_INFO_psrsize[] PROGMEM = "
PSRAM Size
{1} bytes
"; + const char HTTP_INFO_temp[] PROGMEM = "
Temperature
{1} C° / {2} F°
Hall
{3}
"; #else const char HTTP_INFO_esphead[] PROGMEM = "

esp8266


"; const char HTTP_INFO_fchipid[] PROGMEM = "
Flash Chip ID
{1}
"; @@ -193,7 +194,6 @@ const char HTTP_INFO_host[] PROGMEM = "
Hostname
{1}
"; const char HTTP_INFO_stamac[] PROGMEM = "
Station MAC
{1}
"; const char HTTP_INFO_conx[] PROGMEM = "
Connected
{1}
"; const char HTTP_INFO_autoconx[] PROGMEM = "
Autoconnect
{1}
"; -const char HTTP_INFO_temp[] PROGMEM = "
Temperature
{1} C° / {2} F°
Hall
{3}
"; // Strings const char S_y[] PROGMEM = "Yes";