This commit is contained in:
Leon Wilzer 2022-11-23 15:54:08 +01:00
parent f2084052d6
commit 5a01c153b7

View File

@ -43,6 +43,7 @@ int PrgTic
// Get the current value of the system time // Get the current value of the system time
cur_time = p_ta->hook_table.GetSystemTime(TIMER_UNIT_MILLISECONDS); cur_time = p_ta->hook_table.GetSystemTime(TIMER_UNIT_MILLISECONDS);
if(cur_time-prev_time>=wait) if(cur_time-prev_time>=wait)
{
prev_time = cur_time; prev_time = cur_time;
p_ta->hook_table.DisplayMsg(p_ta, NULL); p_ta->hook_table.DisplayMsg(p_ta, NULL);
@ -70,5 +71,6 @@ int PrgTic
p_ta->hook_table.DisplayMsg(p_ta, NULL); p_ta->hook_table.DisplayMsg(p_ta, NULL);
pin = GREEN; pin = GREEN;
} }
}
return rc; return rc;
} }