summaryrefslogtreecommitdiff
path: root/kernel/fifo.c
blob: 314e9ff4535851ead44c3c2701bc0bc0c855655a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "fifo.h"

bool fifo_put(fifo* f,uint8_t c)
{
    return f->put(f->data,c);
}

volatile uint8_t fifo_get(fifo* f)
{
    return f->get(f->data);
}

bool fifo_has(fifo* f)
{
    return f->has(f->data);
}