diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 1495b3da4..e8243de0e 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -587,10 +587,12 @@ int http_fn_index(http_request_t* request) { hprintf255(request, ""); } +#if defined(PLATFORM_BK7231T) || defined(PLATFORM_BK7231N) if (ota_progress()>=0) { hprintf255(request, "
OTA In Progress. Status: %06lXh
", ota_progress()); } +#endif // for normal page loads, show the rest of the HTML if (!http_getArg(request->url, "state", tmpA, sizeof(tmpA))) {