summaryrefslogtreecommitdiff
path: root/extmod/modusocket.c
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-03-20 13:20:10 +0100
committerDamien George <damien@micropython.org>2022-04-11 12:27:49 +1000
commit752fe759104172af2e8cbd7a3713b29134bd5a7f (patch)
treeade4187c5796a4590212549bfe2c1c3725315a24 /extmod/modusocket.c
parentb70b8ce3e4f213e297b4438dbfca7412525a3785 (diff)
mimxrt/machine_spi: Improve handling of busy SPI peripheral.
This commit changes the method of waiting for SPI being not busy. Instead of the FIFO size, the TransferBusyFlag is probed. Also, raise an error if the transfer failed.
Diffstat (limited to 'extmod/modusocket.c')
0 files changed, 0 insertions, 0 deletions