fix: suspend web panel for OTA

This commit is contained in:
Jared Dohrman
2026-04-21 18:19:33 +10:00
parent 0ad50e5bd0
commit 2ad3b134f2
8 changed files with 35 additions and 5 deletions
+1
View File
@@ -252,6 +252,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, char* command, char* re
strcpy(reply, "ERR: clock cannot go backwards");
}
} else if (memcmp(command, "start ota", 9) == 0) {
_callbacks->prepareForOTAStart();
if (!_board->startOTAUpdate(_prefs->node_name, reply)) {
strcpy(reply, "Error");
}