fix: start ota is now consistent across command sources

This commit is contained in:
Jared Dohrman
2026-04-23 09:27:48 +10:00
parent 9085265637
commit 4b83142b9e
6 changed files with 23 additions and 8 deletions
+1 -1
View File
@@ -41,6 +41,7 @@ public:
void setCommandRunner(WebPanelCommandRunner* runner);
bool start();
void stop();
void stopRedirectServer();
bool isRunning() const;
bool hasSessionToken() const;
bool shouldAutoLock(unsigned long now_ms) const;
@@ -71,7 +72,6 @@ private:
void refreshToken();
bool isAuthorized(httpd_req_t* req) const;
void noteActivity();
void stopRedirectServer();
#else
WebPanelCommandRunner* _runner;
#endif