mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Don't use Arduino SPI library if spi4teensy3 should be used
This commit is contained in:
parent
45df70641b
commit
b46ead88e8
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ e-mail : support@circuitsathome.com
|
|||
#define USING_SPI4TEENSY3 0
|
||||
#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
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue