X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_timer.c;h=0d81b5de47e6170fccfe160f34a90f4f9c1fa97b;hb=07eecc0ff6e1104f911e5f83d67f3e14dc68c59c;hp=d00deffab2161b80e0333f6524567deefdb87052;hpb=338372b97d441c30d2a23df540163a66a7f8d8c0;p=fw%2Faltos diff --git a/src/stm/ao_timer.c b/src/stm/ao_timer.c index d00deffa..0d81b5de 100644 --- a/src/stm/ao_timer.c +++ b/src/stm/ao_timer.c @@ -67,10 +67,7 @@ void stm_systick_isr(void) #if HAS_TICK ++ao_tick_count; #endif -#if HAS_TASK_QUEUE - if (ao_task_alarm_tick && (int16_t) (ao_tick_count - ao_task_alarm_tick) >= 0) - ao_task_check_alarm((uint16_t) ao_tick_count); -#endif + ao_task_check_alarm(); #if AO_DATA_ALL if (++ao_data_count == ao_data_interval) { ao_data_count = 0;