add ringbuffer

This commit is contained in:
2019-10-06 00:11:39 +02:00
parent c90ffe6509
commit 33939d3b59
4 changed files with 70 additions and 30 deletions

9
src/ringbuffer.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef _RINGBUFFER_H_
#define _RINGBUFFER_H_
#include <stdint.h>
void ringbufferPut(uint32_t f);
uint32_t ringbufferGet();
#endif // _RINGBUFFER_H_