Skip to content

Commit

Permalink
Fix an infinite loop in y_timers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Y_Less committed Aug 29, 2021
1 parent cc1d066 commit 0b9e309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YSI_Coding/y_timers/y_timers_impl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ stock _Timer_F(Timer:slot = Timer:0, force = 0)
P:6("_Timer_F: slot = %d, next = %d", _:slot, force);
free(Alloc:slot);
}
while ((_:slot = force) != 1);
while ((_:slot = force) != -1);
return 1;
}

Expand Down

0 comments on commit 0b9e309

Please sign in to comment.