mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
There is no need for RBL_NRF51822 to have it's own SPI implementation
This commit is contained in:
parent
b7587fb387
commit
758cce56f5
1 changed files with 0 additions and 7 deletions
|
@ -60,13 +60,6 @@ public:
|
||||||
SPI.setClockDivider(4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz
|
SPI.setClockDivider(4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#elif defined(RBL_NRF51822)
|
|
||||||
static void init() {
|
|
||||||
SPI_SS::SetDirWrite();
|
|
||||||
SPI_SS::Set();
|
|
||||||
SPI.begin();
|
|
||||||
// SPI.setFrequency(SPI_FREQUENCY_8M);
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
static void init() {
|
static void init() {
|
||||||
//uint8_t tmp;
|
//uint8_t tmp;
|
||||||
|
|
Loading…
Reference in a new issue