Fixed a compile-breaking mistake.
This commit is contained in:
@@ -221,7 +221,7 @@ timer_process_inline(void)
|
||||
timer->callback(timer->priv);
|
||||
|
||||
if (timer->flags |= TIMER_ENABLE)
|
||||
timer->flags = (timer_flags & ~TIMER_ENABLE) | TIMER_ENABLED;
|
||||
timer->flags = (timer->flags & ~TIMER_ENABLE) | TIMER_ENABLED;
|
||||
else
|
||||
timer->flags &= ~TIMER_ENABLED;
|
||||
}
|
||||
|
@@ -129,7 +129,7 @@ timer_process(void)
|
||||
timer->callback(timer->priv);
|
||||
|
||||
if (timer->flags |= TIMER_ENABLE)
|
||||
timer->flags = (timer_flags & ~TIMER_ENABLE) | TIMER_ENABLED;
|
||||
timer->flags = (timer->flags & ~TIMER_ENABLE) | TIMER_ENABLED;
|
||||
else
|
||||
timer->flags &= ~TIMER_ENABLED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user