Browse Source

Add link to home page for http OTA

Remove link for regular ota mode
Fix #2
lefevre
Mathieu Maret 5 years ago
parent
commit
66e153e527
  1. 1
      WifiControlSensor/WebServer.ino

1
WifiControlSensor/WebServer.ino

@ -46,6 +46,7 @@ void WebHandleRoot() {
#ifdef CONFIG_ENABLE_BMP180
"BMP 180 (Temp+Pression) Status: " + (BMP180IsConnected() ? "Connected" : "Disconnected") + "<br/>"
#endif
"<a href=\"/upload\">Update firmware</a><br/>"
"Wifi Strength: " + WiFi.RSSI() + "dBm<br/>"
"Free space: " + ESP.getFreeSketchSpace() + "<br/>"
"Free heap: " + ESP.getFreeHeap() + "<br/>"

Loading…
Cancel
Save