diff options
author | fishsoupisgood <github@madingley.org> | 2020-05-26 14:33:34 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2020-05-26 14:33:34 +0100 |
commit | f0d941bef6a9b6e3af78cfc68e1f82d6b47ccb2f (patch) | |
tree | 22a88d00cb28e075b5397ff5db586d548023f2f2 /stm32/app/ring.h | |
download | heating-f0d941bef6a9b6e3af78cfc68e1f82d6b47ccb2f.tar.gz heating-f0d941bef6a9b6e3af78cfc68e1f82d6b47ccb2f.tar.bz2 heating-f0d941bef6a9b6e3af78cfc68e1f82d6b47ccb2f.zip |
happy
Diffstat (limited to 'stm32/app/ring.h')
-rw-r--r-- | stm32/app/ring.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 + + |