Remove SPI.h and EEPROM.h includes (#555)

* Remove duplicate includes

* Reorder SPI.h include
This commit is contained in:
Olivier
2016-08-14 14:46:05 +02:00
committed by Embedded Innovation
parent f9c36c9b74
commit 0a8fbe5816
40 changed files with 1 additions and 43 deletions
+1 -1
View File
@@ -34,10 +34,10 @@
#define MY_RF24_SPI_DATA_MODE SPI_MODE0
#if defined (ARDUINO) && !defined (__arm__) && !defined (_SPI)
#include <SPI.h>
#if defined(MY_SOFTSPI)
SoftSPI<MY_SOFT_SPI_MISO_PIN, MY_SOFT_SPI_MOSI_PIN, MY_SOFT_SPI_SCK_PIN, MY_RF24_SPI_DATA_MODE> _SPI;
#else
#include <SPI.h>
#define _SPI SPI
#endif
#else