X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/45e1f8b055043e54be35462852ab6649d634da7c..9eed27f6f2f002145667fb4abfc5e476b53630e5:/lunaix-os/includes/lunaix/ds/fifo.h diff --git a/lunaix-os/includes/lunaix/ds/fifo.h b/lunaix-os/includes/lunaix/ds/fifo.h index ecdbe5e..a8f5091 100644 --- a/lunaix-os/includes/lunaix/ds/fifo.h +++ b/lunaix-os/includes/lunaix/ds/fifo.h @@ -26,6 +26,9 @@ fifo_putone(struct fifo_buf* fbuf, u8_t data); size_t fifo_readone_async(struct fifo_buf* fbuf, u8_t* data); +size_t +fifo_readone(struct fifo_buf* fbuf, u8_t* data); + void fifo_set_rdptr(struct fifo_buf* fbuf, size_t rdptr);