CCS tevreden maken

This commit is contained in:
Dennis Boekholtz 2024-04-13 22:53:55 +02:00
parent 58d08e2951
commit 1d033c88fb

View File

@ -141,6 +141,7 @@ bool FIFOBuffChar_pop(FIFOBuffChar_t *fifo)
default: // buffer is at least 2 element big
// find the second last element
{
FIFOBuffChar_element_t* secondLastEl = fifo->FirstEl_p;
while (
secondLastEl->nextElement != fifo->LastEl_p
@ -158,6 +159,7 @@ bool FIFOBuffChar_pop(FIFOBuffChar_t *fifo)
fifo->size--;
ok = true;
break;
}
}
return ok;