summaryrefslogtreecommitdiff
path: root/src/common/tusb_fifo.h
diff options
context:
space:
mode:
authorJan Dümpelmann <[email protected]>2020-09-03 17:21:32 +0200
committerJan Dümpelmann <[email protected]>2020-09-03 17:21:32 +0200
commit4071e490e259de5bf2891c9893ab7965b5be3d2e (patch)
treeee77036e6c12e13aaf8a7527c6e4c19c8cc9a9be /src/common/tusb_fifo.h
parentfd6cf9010b522019a4434ebd02fb447b567e7131 (diff)
New function to modify fifo overwritability
Diffstat (limited to 'src/common/tusb_fifo.h')
-rw-r--r--src/common/tusb_fifo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h
index fb0c896f3..7957d83af 100644
--- a/src/common/tusb_fifo.h
+++ b/src/common/tusb_fifo.h
@@ -76,6 +76,7 @@ typedef struct
.overwritable = _overwritable, \
}
+bool tu_fifo_change_mode(tu_fifo_t *f, bool overwritable);
bool tu_fifo_clear(tu_fifo_t *f);
bool tu_fifo_config(tu_fifo_t *f, void* buffer, uint16_t depth, uint16_t item_size, bool overwritable);