From f0d941bef6a9b6e3af78cfc68e1f82d6b47ccb2f Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Tue, 26 May 2020 14:33:34 +0100 Subject: happy --- stm32/app/ring.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 stm32/app/ring.h (limited to 'stm32/app/ring.h') diff --git a/stm32/app/ring.h b/stm32/app/ring.h new file mode 100644 index 0000000..a329354 --- /dev/null +++ b/stm32/app/ring.h @@ -0,0 +1,13 @@ +#ifndef _RING_H_ +#define _RING_H_ + +typedef struct ring { + uint8_t *data; + size_t size; + size_t write; + size_t read; +} ring_t; + +#endif + + -- cgit v1.2.3