diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/fifo8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/fifo8.c b/util/fifo8.c index a7503c2293..6a43482c9e 100644 --- a/util/fifo8.c +++ b/util/fifo8.c @@ -89,6 +89,7 @@ const uint8_t *fifo8_pop_buf(Fifo8 *fifo, uint32_t max, uint32_t *num) void fifo8_reset(Fifo8 *fifo) { fifo->num = 0; + fifo->head = 0; } bool fifo8_is_empty(Fifo8 *fifo) |