mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-11 07:45:47 +00:00
OTA - monitoring update
This commit is contained in:
@ -594,7 +594,7 @@ int http_fn_index(http_request_t* request) {
|
||||
#if defined(PLATFORM_BK7231T) || defined(PLATFORM_BK7231N)
|
||||
if (ota_progress() >= 0)
|
||||
{
|
||||
hprintf255(request, "<h5>OTA In Progress. Status: %06lXh</h5>", ota_progress());
|
||||
hprintf255(request, "<h5>OTA In Progress. Downloaded: %i B Flashed: %06lXh</h5>", ota_total_bytes(), ota_progress());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user