summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorSiddharth Chandrasekaran <[email protected]>2026-03-08 00:08:40 +0100
committerSiddharth Chandrasekaran <[email protected]>2026-03-08 08:19:48 +0100
commit2a4b82e3e12b68705f394bf8d800c64ab81ab1c0 (patch)
tree5c78b3174c809dceed7db5681a65440e92346394 /docs/reference
parentda307fa85b4002c875284bb82d7db1ca1bc7347d (diff)
tinyusb: fix hwfifo PMA pointer advance on ring buffer wrap
In hwff_push_n() and hwff_pull_n(), the HWFIFO_ADDR_NEXT_N call after processing the linear part of a wrap-around read/write used the data byte count (lin_even) as the address stride increment. On STM32 FSDEV PMA, data_stride=2 and addr_stride=4, so the pointer must advance by (lin_even / data_stride) * addr_stride bytes, not lin_even bytes. Fixes: 74e59e433 ("fix hwfifo pull/push n with address stride > 0") Signed-off-by: Siddharth Chandrasekaran <[email protected]>
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions