Don't use Arduino SPI library if spi4teensy3 should be used

This commit is contained in:
Kristian Lauszus 2014-08-02 15:16:29 -07:00
parent 45df70641b
commit b46ead88e8

View file

@ -137,7 +137,7 @@ e-mail : support@circuitsathome.com
#define USING_SPI4TEENSY3 0 #define USING_SPI4TEENSY3 0
#endif #endif
#if (defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)) || ARDUINO >= 158 #if ((defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)) || ARDUINO >= 158) && !USING_SPI4TEENSY3
#include <SPI.h> // Use the Arduino SPI library for the Arduino Due or if the SPI library with transaction is available #include <SPI.h> // Use the Arduino SPI library for the Arduino Due or if the SPI library with transaction is available
#endif #endif