summaryrefslogtreecommitdiff
path: root/src/common/tusb_fifo.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-12-12 14:46:48 +0700
committerGitHub <[email protected]>2025-12-12 14:46:48 +0700
commit185839e5c5f80a71ad18470d0d8e84e0a703067b (patch)
treecef09eeda20078c96f5a67b407103b3ba3bf6070 /src/common/tusb_fifo.h
parent64820791516b4001cb169f095588ccb52eb35ea8 (diff)
parente65e79bb81fcc87e5bb6c1ef83b39d480c785764 (diff)
Merge pull request #3402 from hathach/more-size-reduce-edpt-stream
refactor, clean up to reduce size
Diffstat (limited to 'src/common/tusb_fifo.h')
-rw-r--r--src/common/tusb_fifo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h
index 94ab421bb..2e2a0db6f 100644
--- a/src/common/tusb_fifo.h
+++ b/src/common/tusb_fifo.h
@@ -157,8 +157,8 @@ typedef enum {
// Setup API
//--------------------------------------------------------------------+
bool tu_fifo_config(tu_fifo_t *f, void *buffer, uint16_t depth, uint16_t item_size, bool overwritable);
-bool tu_fifo_set_overwritable(tu_fifo_t *f, bool overwritable);
-bool tu_fifo_clear(tu_fifo_t *f);
+void tu_fifo_set_overwritable(tu_fifo_t *f, bool overwritable);
+void tu_fifo_clear(tu_fifo_t *f);
#if OSAL_MUTEX_REQUIRED
TU_ATTR_ALWAYS_INLINE static inline