mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Update usbhost.h
updated formatting
This commit is contained in:
parent
bcabee5f17
commit
742e1bd286
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue