auto-sync
This commit is contained in:
parent
76690cdfe8
commit
dbd4aff103
|
@ -89,16 +89,17 @@ bool EventQueue::executeAll(uint64_t now) {
|
|||
|
||||
scheduling_s * executionList = NULL;
|
||||
|
||||
int counter = 0;
|
||||
|
||||
int listIterationCounter = 0;
|
||||
int executionCounter = 0;
|
||||
// we need safe iteration because we are removing elements inside the loop
|
||||
LL_FOREACH_SAFE(head, current, tmp)
|
||||
{
|
||||
if (++counter > QUEUE_LENGTH_LIMIT) {
|
||||
if (++listIterationCounter > QUEUE_LENGTH_LIMIT) {
|
||||
firmwareError("Is this list looped?");
|
||||
return false;
|
||||
}
|
||||
if (current->momentX <= now) {
|
||||
executionCounter++;
|
||||
LL_DELETE(head, current);
|
||||
LL_PREPEND(executionList, current);
|
||||
}
|
||||
|
|
|
@ -290,5 +290,5 @@ int getRusEfiVersion(void) {
|
|||
return 123; // this is here to make the compiler happy about the unused array
|
||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||
return 3211; // this is here to make the compiler happy about the unused array
|
||||
return 20150415;
|
||||
return 20150416;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue