fix upload_status

This commit is contained in:
proddy
2024-09-01 14:17:37 +02:00
parent e1f5dbae81
commit cbd38dbf15

View File

@@ -1655,7 +1655,7 @@ void EMSESP::start() {
void EMSESP::loop() {
esp8266React.loop(); // web services
system_.loop(); // does LED and checks system health, and syslog service
bool upload_status = true; // ready for any OTA uploads
static bool upload_status = true; // ready for any OTA uploads
// if we're doing an OTA upload, skip everything except from console refresh
if (!system_.upload_isrunning()) {