1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include "fifo.h" bool fifo_put(fifo* f,uint8_t c) { return f->put(f->data,c); } uint8_t fifo_get(fifo* f) { return f->get(f->data); } bool fifo_has(fifo* f) { return f->has(f->data); } bool fifo_full(fifo* f) { return f->full(f->data); }