From f9ea1fc79d6aaff9949a5b11ae011b4e04e0e9d9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 13 Oct 2022 00:05:34 -0400 Subject: splash_progress add delay function I figure this is a better way to allow a delay before showing the progress meter Change-Id: I909902a52619023b0b87635d2eb94ed00cb4bcec --- apps/playlist.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'apps/playlist.c') diff --git a/apps/playlist.c b/apps/playlist.c index e54918f4f7..888b53d282 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -2196,25 +2196,23 @@ int playlist_resume(void) char *str1 = NULL; char *str2 = NULL; char *str3 = NULL; - unsigned long last_tick = current_tick + HZ / 2; /* wait 1/2 sec before progress */ + unsigned long last_tick = current_tick; + splash_progress_set_delay(HZ / 2); /* wait 1/2 sec before progress */ bool useraborted = false; for(count=0; count