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:
hathach 2023-11-02 15:22:02 +07:00
parent 68faa45c6a
commit 46106c6ef4
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
1 changed files with 0 additions and 1 deletions

View File

@ -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));