diff options
author | Wim Lewis <wiml@hhhh.org> | 2018-01-18 01:27:22 -0800 |
---|---|---|
committer | Wim Lewis <wiml@hhhh.org> | 2018-01-18 01:33:04 -0800 |
commit | 48d924c24becc69f0c88011ab76fb12b22384d21 (patch) | |
tree | 446376b62ee0363f44edb620d58c61133bad4793 /os/hal/ports/KINETIS/LLD/hal_usb_lld.c | |
parent | ee3f7f1b8557f21918822009435501c618aa3535 (diff) | |
download | ChibiOS-Contrib-48d924c24becc69f0c88011ab76fb12b22384d21.tar.gz ChibiOS-Contrib-48d924c24becc69f0c88011ab76fb12b22384d21.tar.bz2 ChibiOS-Contrib-48d924c24becc69f0c88011ab76fb12b22384d21.zip |
Improved error handling: check the card's state before trying to abort
a failed data transfer; translate card status bits into HLD error
bits. Set BLKATTR_BLKCNT even when it's not being used, which seems to
avoid errors when alternating between multi-block and single-block
transfers. Some comments.
Diffstat (limited to 'os/hal/ports/KINETIS/LLD/hal_usb_lld.c')
0 files changed, 0 insertions, 0 deletions