diff options
| author | hathach <[email protected]> | 2025-11-22 17:31:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-22 17:31:31 +0700 |
| commit | b98127fba2b198130eb8868defcf117c6b5ea231 (patch) | |
| tree | 36d95a57994f3c7d0b1376228ffba26ee4c7c389 /src/common | |
| parent | b7bf1d9835b0fab2da581df8d81686509d155e15 (diff) | |
hil stress test cdc
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 f09fcbafa..0c44cbd76 100644 --- a/src/common/tusb_fifo.c +++ b/src/common/tusb_fifo.c @@ -400,7 +400,7 @@ uint16_t tu_fifo_write_n_access(tu_fifo_t *f, const void *data, uint16_t n, tu_f const uint8_t *buf8 = (const uint8_t *)data; TU_LOG(TU_FIFO_DBG, "rd = %3u, wr = %3u, count = %3u, remain = %3u, n = %3u: ", rd_idx, wr_idx, - _ff_count(f->depth, wr_idx, rd_idx), _ff_remaining(f->depth, wr_idx, rd_idx), n); + tu_ff_overflow_count(f->depth, wr_idx, rd_idx), tu_ff_remaining_local(f->depth, wr_idx, rd_idx), n); if (!f->overwritable) { // limit up to full |
