Fixed a compile-breaking mistake.

This commit is contained in:
OBattler
2023-08-14 22:32:14 +02:00
parent c23829834e
commit a4e39387a9
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}