equal
deleted
inserted
replaced
157 s_timer_entry *row = (timers+i); |
157 s_timer_entry *row = (timers+i); |
158 |
158 |
159 if (row->state & TIMER_TRIG) |
159 if (row->state & TIMER_TRIG) |
160 { |
160 { |
161 row->state &= ~TIMER_TRIG; /* reset trig state (will be free if not periodic) */ |
161 row->state &= ~TIMER_TRIG; /* reset trig state (will be free if not periodic) */ |
162 (*row->callback)(row->d, row->id); /* trig ! */ |
162 if(row->callback) |
|
163 (*row->callback)(row->d, row->id); /* trig ! */ |
163 } |
164 } |
164 } |
165 } |
165 } |
166 } |
166 |
167 |