Skip to content

Commit b46ead8

Browse files
committed
Don't use Arduino SPI library if spi4teensy3 should be used
1 parent 45df706 commit b46ead8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ e-mail : [email protected]
137137
#define USING_SPI4TEENSY3 0
138138
#endif
139139

140-
#if (defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)) || ARDUINO >= 158
140+
#if ((defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)) || ARDUINO >= 158) && !USING_SPI4TEENSY3
141141
#include <SPI.h> // Use the Arduino SPI library for the Arduino Due or if the SPI library with transaction is available
142142
#endif
143143

0 commit comments

Comments
 (0)