mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
remove hall sensor, fix temp
This commit is contained in:
+2
-1
@@ -2002,6 +2002,7 @@ void WiFiManager::handleInfo() {
|
||||
F("memsketch"),
|
||||
F("memsmeter"),
|
||||
F("lastreset"),
|
||||
F("temp"),
|
||||
F("wifihead"),
|
||||
F("conx"),
|
||||
F("stassid"),
|
||||
@@ -2238,7 +2239,7 @@ String WiFiManager::getInfoData(String id){
|
||||
p.replace(FPSTR(T_1),(String)temperatureRead());
|
||||
p.replace(FPSTR(T_2),(String)((temperatureRead()+32)*1.8));
|
||||
// p.replace(FPSTR(T_3),(String)hallRead());
|
||||
p.replace(FPSTR(T_3),"NA");
|
||||
// p.replace(FPSTR(T_3),"NA"); // removed hall sensor as reads can cause issues with adcs
|
||||
}
|
||||
#endif
|
||||
else if(id==F("aboutver")){
|
||||
|
||||
+2
-1
@@ -178,7 +178,8 @@ const char HTTP_JS[] PROGMEM =
|
||||
const char HTTP_INFO_lastreset[] PROGMEM = "<dt>Last reset reason</dt><dd>CPU0: {1}<br/>CPU1: {2}</dd>";
|
||||
const char HTTP_INFO_aphost[] PROGMEM = "<dt>Access Point Hostname</dt><dd>{1}</dd>";
|
||||
const char HTTP_INFO_psrsize[] PROGMEM = "<dt>PSRAM Size</dt><dd>{1} bytes</dd>";
|
||||
const char HTTP_INFO_temp[] PROGMEM = "<dt>Temperature</dt><dd>{1} C° / {2} F°</dd><dt>Hall</dt><dd>{3}</dd>";
|
||||
const char HTTP_INFO_temp[] PROGMEM = "<dt>Temperature</dt><dd>{1} C° / {2} F°</dd>";
|
||||
// const char HTTP_INFO_temp[] PROGMEM = "<dt><dt>Hall</dt><dd>{3}</dd>";
|
||||
#else
|
||||
const char HTTP_INFO_esphead[] PROGMEM = "<h3>esp8266</h3><hr><dl>";
|
||||
const char HTTP_INFO_fchipid[] PROGMEM = "<dt>Flash Chip ID</dt><dd>{1}</dd>";
|
||||
|
||||
Reference in New Issue
Block a user