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