From 1a1e4a8256aac804666eadf4698bc58e83982ac1 Mon Sep 17 00:00:00 2001 From: Ernest Borowski Date: Wed, 14 Jul 2021 13:31:09 +0000 Subject: [PATCH] Always log update progress inside ua. Progress was not reported during headless upgrade. This information is required for os-upgrade automatic tests. Change-Id: Ic2ca02f1d1b92b90329abee516c7d15b6ffd7ca1 Signed-off-by: Ernest Borowski --- src/ua.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ua.c b/src/ua.c index bf42608..d1412c9 100755 --- a/src/ua.c +++ b/src/ua.c @@ -174,8 +174,7 @@ void fota_gui_progress(void * pbUserData, unsigned long uPercent) } percent = from + ((to - from) * percent / 100); - if (ua_op_mode == UA_OP_MODE_FG) - fota_gui_update_progress(percent); /* update progress bar and text */ + fota_gui_update_progress(percent); /* update progress bar and text */ LOGL(LOG_FUNCS|LOG_GUI, "-- uPercent=%lu, Print Percent(%d%%)\n", uPercent, percent); } -- 2.7.4