summaryrefslogtreecommitdiff
path: root/fs/fifo.c
blob: e5e071d68de90131d5bec38cc9303d95381ffa11 (plain)
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);
}