mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Merge pull request #156 from sieren/rbl-nrf51288-fix
Fixed Compile Error with RedBearLabs nRF51288
This commit is contained in:
commit
628d0de589
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public:
|
||||||
#else
|
#else
|
||||||
SPI.setClockDivider(SPI_CLOCK_DIV2); // This will set the SPI frequency to 8MHz - it could be higher, but it is not supported in the old API
|
SPI.setClockDivider(SPI_CLOCK_DIV2); // This will set the SPI frequency to 8MHz - it could be higher, but it is not supported in the old API
|
||||||
#endif
|
#endif
|
||||||
#else
|
#elif !defined(RBL_NRF51822)
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue