Update usbhost.h

updated formatting
This commit is contained in:
Topo-png 2021-08-10 21:30:42 -04:00 committed by GitHub
parent bcabee5f17
commit 742e1bd286
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,6 @@ public:
// Should be initialized by the user manually for now // Should be initialized by the user manually for now
} }
#elif defined(AM_PART_APOLLO3) #elif defined(AM_PART_APOLLO3)
static void init() { static void init() {
SPI::begin(); SPI::begin();
} }
@ -436,7 +435,7 @@ int8_t MAX3421e< SPI_SS, INTR >::Init() {
/* pin and peripheral setup */ /* pin and peripheral setup */
SPI_SS::SetDirWrite(); SPI_SS::SetDirWrite();
SPI_SS::Set(); SPI_SS::Set();
spi::init(); spi::init();
INTR::SetDirRead(); INTR::SetDirRead();
XMEM_RELEASE_SPI(); XMEM_RELEASE_SPI();
/* MAX3421E - full-duplex SPI, level interrupt */ /* MAX3421E - full-duplex SPI, level interrupt */