From 700cff28a4b551a484fa679e68be35db9d2b2067 Mon Sep 17 00:00:00 2001 From: dyamy-lee Date: Tue, 28 Jul 2020 15:30:26 +0900 Subject: [PATCH] change for catching Major Defect Change-Id: I8d0d166a7fdc90b644343ab1fa11df62357a53ba --- rw-update-ani-common/fota_gr_direct_rw_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-update-ani-common/fota_gr_direct_rw_common.c b/rw-update-ani-common/fota_gr_direct_rw_common.c index 1292166..6bff6bb 100644 --- a/rw-update-ani-common/fota_gr_direct_rw_common.c +++ b/rw-update-ani-common/fota_gr_direct_rw_common.c @@ -457,7 +457,7 @@ void fota_gr_direct_rw_update_progress(void) if (total == 0) s_percent_to_draw = 0; else - s_percent_to_draw = 100 * progress / total; + s_percent_to_draw = 100 * (progress / total); if (s_saved_percent < s_percent_to_draw) { LOG("s_saved_percent %d , s_percent_to_draw %d \n", s_saved_percent, s_percent_to_draw); -- 2.34.1