Commit 683f1be1 authored by Andreas Biri's avatar Andreas Biri 👻
Browse files

fix return logic

parent 16768ca8
......@@ -89,7 +89,7 @@ bool fifo_push(fifo_t fifo, const void* elem)
if (f->write_idx == f->num_elem) {
f->write_idx = 0;
}
return false;
return true;
}
/*---------------------------------------------------------------------------*/
bool fifo_pop(fifo_t fifo, void* elem)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment