aboutsummaryrefslogtreecommitdiffstats
path: root/src/sensor_bulk.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-05-30 15:56:12 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-05-30 16:34:49 -0400
commit8e58f8fb39f275a23c6209cc856e3464b188fdf5 (patch)
tree323a3080e56dee452bdd133cc580c99726210cb1 /src/sensor_bulk.h
parentf4130aa9487bed4210eedc01af4b9c88141a5771 (diff)
downloadkutter-8e58f8fb39f275a23c6209cc856e3464b188fdf5.tar.gz
kutter-8e58f8fb39f275a23c6209cc856e3464b188fdf5.tar.xz
kutter-8e58f8fb39f275a23c6209cc856e3464b188fdf5.zip
rp2040: Fix spi overflow issue
Completely filling the spi transmit fifo could lead to a situation where the rx fifo overflows. Make sure not to write past the rx fifo size. Also, be sure to wait for the transmission to fully complete before exiting spi_transfer(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sensor_bulk.h')
0 files changed, 0 insertions, 0 deletions