There is no need for RBL_NRF51822 to have it's own SPI implementation

This commit is contained in:
Kristian Sloth Lauszus 2015-06-02 16:09:34 +02:00
parent b7587fb387
commit 758cce56f5

View file

@ -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;