summaryrefslogtreecommitdiffstats
path: root/radiator-plc/stm32/app/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'radiator-plc/stm32/app/ring.h')
-rw-r--r--radiator-plc/stm32/app/ring.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/radiator-plc/stm32/app/ring.h b/radiator-plc/stm32/app/ring.h
new file mode 100644
index 0000000..1eae65b
--- /dev/null
+++ b/radiator-plc/stm32/app/ring.h
@@ -0,0 +1,6 @@
+typedef struct ring {
+ uint8_t *data;
+ size_t size;
+ size_t write;
+ size_t read;
+} ring_t;