From 758cce56f534add2ad30a4ba32874eb13f44b006 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 2 Jun 2015 16:09:34 +0200 Subject: [PATCH] There is no need for RBL_NRF51822 to have it's own SPI implementation --- usbhost.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/usbhost.h b/usbhost.h index 1d6f5955..e610d938 100644 --- a/usbhost.h +++ b/usbhost.h @@ -60,13 +60,6 @@ public: SPI.setClockDivider(4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz #endif } -#elif defined(RBL_NRF51822) - static void init() { - SPI_SS::SetDirWrite(); - SPI_SS::Set(); - SPI.begin(); - // SPI.setFrequency(SPI_FREQUENCY_8M); - } #else static void init() { //uint8_t tmp;