summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-02 15:22:02 +0700
committerhathach <[email protected]>2023-11-02 15:22:02 +0700
commit46106c6ef41e7a0c3cec261c32a2f183f05a65ce (patch)
treea0a176997ea5ccb7c37c869e77adc2fa91a06c37 /src
parent68faa45c6a259f6d64b0c17526df48ec00e6717f (diff)
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()
Diffstat (limited to 'src')
-rw-r--r--src/portable/analog/max3421/hcd_max3421.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/portable/analog/max3421/hcd_max3421.c b/src/portable/analog/max3421/hcd_max3421.c
index 4665c1b06..65f87f7c6 100644
--- a/src/portable/analog/max3421/hcd_max3421.c
+++ b/src/portable/analog/max3421/hcd_max3421.c
@@ -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));