BK7231 specific functionality

This commit is contained in:
valeklubomir
2022-11-01 01:16:59 +01:00
parent 8218b6428f
commit 3c894c305f
4 changed files with 41 additions and 2 deletions

View File

@@ -591,7 +591,11 @@ int http_fn_index(http_request_t* request) {
hprintf255(request, "</h5>");
}
#if defined(PLATFORM_BK7231T) || defined(PLATFORM_BK7231N)
#if WINDOWS
#elif PLATFORM_BL602
#elif PLATFORM_W600 || PLATFORM_W800
#elif PLATFORM_XR809
#elif PLATFORM_BK7231N || PLATFORM_BK7231T
if (ota_progress() >= 0)
{
hprintf255(request, "<h5>OTA In Progress. Downloaded: %i B Flashed: %06lXh</h5>", ota_total_bytes(), ota_progress());