adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
477 stars 127 forks source link

move SPI beginTransaction()/endTransaction() to tuh_max3421_spi_cs_api() #343

Closed hathach closed 11 months ago

hathach commented 11 months ago

this is correct implementation to share SPI with other peripherals. Therefore hcd_init() should not call this, only when start/end a transfer