lpc17 ohci failed to execute control transfer !!

This commit is contained in:
hathach
2018-12-07 18:49:26 +07:00
parent e6e3679136
commit 2aa21a14e6
14 changed files with 12249 additions and 24 deletions

View File

@@ -101,6 +101,10 @@ void tuh_cdc_unmounted_cb(uint8_t dev_addr)
// invoked ISR context
void tuh_cdc_xfer_isr(uint8_t dev_addr, xfer_result_t event, cdc_pipeid_t pipe_id, uint32_t xferred_bytes)
{
(void) event;
(void) pipe_id;
(void) xferred_bytes;
printf(serial_in_buffer);
tu_memclr(serial_in_buffer, sizeof(serial_in_buffer));