Merge pull request #405 from tannewt/remove_double_csw
atmel-samd: Stop double CSW after MSC reads
This commit is contained in:
commit
5ff641772a
@ -273,7 +273,6 @@ int32_t usb_msc_xfer_done(uint8_t lun) {
|
||||
void usb_msc_background(void) {
|
||||
if (active_read && !usb_busy) {
|
||||
if (active_nblocks == 0) {
|
||||
mscdf_xfer_blocks(false, NULL, 0);
|
||||
active_read = false;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user