skip tuh_max3421_spi_cs_api() in hcd_init()
only call tuh_max3421_spi_cs_api() in SPI start/end transfer since Arduino port use this to call begin/endTransaction()
This commit is contained in:
parent
68faa45c6a
commit
46106c6ef4
|
@ -417,7 +417,6 @@ bool hcd_init(uint8_t rhport) {
|
|||
(void) rhport;
|
||||
|
||||
tuh_max3421_int_api(rhport, false);
|
||||
tuh_max3421_spi_cs_api(rhport, false);
|
||||
|
||||
TU_LOG2_INT(sizeof(max3421_ep_t));
|
||||
TU_LOG2_INT(sizeof(max3421_data_t));
|
||||
|
|
Loading…
Reference in New Issue