diff options
author | root <root@lamia.panaceas.james.local> | 2015-07-16 08:35:16 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-07-16 08:35:16 +0100 |
commit | b3df20a08974584076e802d5f7061a8a8cb96930 (patch) | |
tree | b380025284e65f42b57134abe988a0a04db93ec8 /app/ring.h | |
download | stm32_ade-b3df20a08974584076e802d5f7061a8a8cb96930.tar.gz stm32_ade-b3df20a08974584076e802d5f7061a8a8cb96930.tar.bz2 stm32_ade-b3df20a08974584076e802d5f7061a8a8cb96930.zip |
initial commit
Diffstat (limited to 'app/ring.h')
-rw-r--r-- | app/ring.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/ring.h b/app/ring.h new file mode 100644 index 0000000..ba8887b --- /dev/null +++ b/app/ring.h @@ -0,0 +1,7 @@ +typedef struct ring +{ + uint8_t *data; + size_t size; + size_t write; + size_t read; +} ring_t; |