fix teensy

This commit is contained in:
ladyada 2019-05-18 19:36:21 -04:00
parent 104e783039
commit 91d06ac734
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#define Adafruit_SPIDevice_h #define Adafruit_SPIDevice_h
// some modern SPI definitions don't have BitOrder enum // some modern SPI definitions don't have BitOrder enum
#if defined(__AVR__) || defined(ESP8266) #if defined(__AVR__) || defined(ESP8266) || defined(TEENSYDUINO)
typedef enum _BitOrder { typedef enum _BitOrder {
SPI_BITORDER_MSBFIRST = MSBFIRST, SPI_BITORDER_MSBFIRST = MSBFIRST,
SPI_BITORDER_LSBFIRST = LSBFIRST, SPI_BITORDER_LSBFIRST = LSBFIRST,