Add link to home page for http OTA
Remove link for regular ota mode Fix #2
This commit is contained in:
parent
fa042404b2
commit
66e153e527
@ -46,6 +46,7 @@ void WebHandleRoot() {
|
|||||||
#ifdef CONFIG_ENABLE_BMP180
|
#ifdef CONFIG_ENABLE_BMP180
|
||||||
"BMP 180 (Temp+Pression) Status: " + (BMP180IsConnected() ? "Connected" : "Disconnected") + "<br/>"
|
"BMP 180 (Temp+Pression) Status: " + (BMP180IsConnected() ? "Connected" : "Disconnected") + "<br/>"
|
||||||
#endif
|
#endif
|
||||||
|
"<a href=\"/upload\">Update firmware</a><br/>"
|
||||||
"Wifi Strength: " + WiFi.RSSI() + "dBm<br/>"
|
"Wifi Strength: " + WiFi.RSSI() + "dBm<br/>"
|
||||||
"Free space: " + ESP.getFreeSketchSpace() + "<br/>"
|
"Free space: " + ESP.getFreeSketchSpace() + "<br/>"
|
||||||
"Free heap: " + ESP.getFreeHeap() + "<br/>"
|
"Free heap: " + ESP.getFreeHeap() + "<br/>"
|
||||||
|
Loading…
Reference in New Issue
Block a user