merge conf reslove

This commit is contained in:
Dennis Boekholtz 2024-04-13 23:17:47 +02:00
commit bb79053b1e

View File

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