Add link to home page for http OTA

Remove link for regular ota mode
Fix #2
This commit is contained in:
Mathieu Maret 2017-03-29 22:36:23 +02:00
parent fa042404b2
commit 66e153e527

View File

@ -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/>"