From 5a01c153b705b22198a850ee85768c171e14d950 Mon Sep 17 00:00:00 2001 From: Leon Wilzer Date: Wed, 23 Nov 2022 15:54:08 +0100 Subject: [PATCH] idk --- Demo_C/Demo/LED/LED.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Demo_C/Demo/LED/LED.c b/Demo_C/Demo/LED/LED.c index efd072d..5443825 100644 --- a/Demo_C/Demo/LED/LED.c +++ b/Demo_C/Demo/LED/LED.c @@ -43,6 +43,7 @@ int PrgTic // Get the current value of the system time cur_time = p_ta->hook_table.GetSystemTime(TIMER_UNIT_MILLISECONDS); if(cur_time-prev_time>=wait) + { prev_time = cur_time; p_ta->hook_table.DisplayMsg(p_ta, NULL); @@ -70,5 +71,6 @@ int PrgTic p_ta->hook_table.DisplayMsg(p_ta, NULL); pin = GREEN; } + } return rc; } \ No newline at end of file