fixed dcd lpc17xx queue transfer & IOC handling

able to run MSC demo
This commit is contained in:
hathach
2013-11-20 15:34:49 +07:00
parent 850fcf03f0
commit d94efa60d6
6 changed files with 71 additions and 35 deletions
+2 -1
View File
@@ -178,8 +178,9 @@ tusb_error_t usbd_body_subtask(void)
length -= USBD_COTNROL_MAX_LENGTH_EACH_XFER;
p_buffer += USBD_COTNROL_MAX_LENGTH_EACH_XFER;
usbd_devices[coreid].is_waiting_control_xfer = false;
}
usbd_devices[coreid].is_waiting_control_xfer = false;
#endif
if ( TUSB_ERROR_NONE == error )