From a6184be79e3918764d5e683796afbd8e8ccba018 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Mon, 18 May 2015 09:20:01 +0200 Subject: fifo through ringbuffer(stdin) and vt52(stdout) finally working! --- kernel/fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/fifo.c') diff --git a/kernel/fifo.c b/kernel/fifo.c index abd6c46..314e9ff 100644 --- a/kernel/fifo.c +++ b/kernel/fifo.c @@ -5,7 +5,7 @@ bool fifo_put(fifo* f,uint8_t c) return f->put(f->data,c); } -uint8_t fifo_get(fifo* f) +volatile uint8_t fifo_get(fifo* f) { return f->get(f->data); } -- cgit v1.2.3