mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
minor text changes
This commit is contained in:
@@ -2544,7 +2544,7 @@ void MyESP::_webserver_setup() {
|
|||||||
}
|
}
|
||||||
if (!index) {
|
if (!index) {
|
||||||
_writeEvent("INFO", "updt", "Firmware update started", "");
|
_writeEvent("INFO", "updt", "Firmware update started", "");
|
||||||
//Serial.printf("[ UPDT ] Firmware update started: %s\n", filename.c_str()); // enable for debugging
|
//Serial.printf("[SYSTEM] Firmware update started: %s\n", filename.c_str()); // enable for debugging
|
||||||
Update.runAsync(true);
|
Update.runAsync(true);
|
||||||
if (!Update.begin((ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000)) {
|
if (!Update.begin((ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000)) {
|
||||||
_writeEvent("ERRO", "updt", "Not enough space to update", "");
|
_writeEvent("ERRO", "updt", "Not enough space to update", "");
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ function inProgress(callback) {
|
|||||||
clearInterval(prg);
|
clearInterval(prg);
|
||||||
var a = document.createElement("a");
|
var a = document.createElement("a");
|
||||||
a.href = "http://" + config.general.hostname + ".local";
|
a.href = "http://" + config.general.hostname + ".local";
|
||||||
a.innerText = "Try to reconnect ESP";
|
a.innerText = "Re-connect...";
|
||||||
document.getElementById("reconnect").appendChild(a);
|
document.getElementById("reconnect").appendChild(a);
|
||||||
document.getElementById("reconnect").style.display = "block";
|
document.getElementById("reconnect").style.display = "block";
|
||||||
document.getElementById("updateprog").className = "progress-bar progress-bar-success";
|
document.getElementById("updateprog").className = "progress-bar progress-bar-success";
|
||||||
|
|||||||
Reference in New Issue
Block a user