CCS tevreden maken
This commit is contained in:
parent
58d08e2951
commit
1d033c88fb
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user