diff options
| author | hathach <[email protected]> | 2025-11-27 19:14:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-27 19:14:23 +0700 |
| commit | 1465a9b5bc64e39d9051b281ffc1f13b5cb6ad9e (patch) | |
| tree | 3f01e2c063cefd10162c68f78f39e88aeaeececd /src/common | |
| parent | 9a9bf0fd7b5a005fd4701ab6cb5b1728ecc0baa2 (diff) | |
make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0
vendor_write_flush() and write_available() only available when CFG_TUD_VENDOR_TX_BUFSIZE > 0
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_fifo.c b/src/common/tusb_fifo.c index f78167f94..06b0d6a58 100644 --- a/src/common/tusb_fifo.c +++ b/src/common/tusb_fifo.c @@ -499,7 +499,7 @@ bool tu_fifo_read(tu_fifo_t *f, void *buffer) { return ret; } -// Read one item without removing it from the FIFO, correct rad index if overflowed +// Read one item without removing it from the FIFO, correct read index if overflowed bool tu_fifo_peek(tu_fifo_t *f, void *p_buffer) { return ff_peek_local(f, p_buffer, f->wr_idx, f->rd_idx); } |
