OTA - monitoring update

This commit is contained in:
valeklubomir
2022-10-31 23:52:32 +01:00
parent 121625c31c
commit 6934ba7b11
3 changed files with 7 additions and 1 deletions

View File

@ -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