From eb13628bb86084bdf822e109c1301277d88d23d7 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 9 Oct 2023 20:23:03 -0400 Subject: [BUGFIX] yesno.c use TIME_AFTER macro Change-Id: I52561dd70e182b3540638d6a7c05474e14fa7a2e --- apps/gui/yesno.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c index 421e158c78..6056d239a6 100644 --- a/apps/gui/yesno.c +++ b/apps/gui/yesno.c @@ -305,7 +305,7 @@ enum yesno_res gui_syncyesno_run_w_tmo(int ticks, enum yesno_res tmo_default_res result=YESNO_YES; break; case ACTION_NONE: - if(tmo_default_res != YESNO_TMO && end_tick <= current_tick) + if(tmo_default_res != YESNO_TMO && TIME_AFTER(current_tick, end_tick)) { splash(HZ/2, ID2P(LANG_TIMEOUT)); result = tmo_default_res; -- cgit v1.2.3