Fix for compiling on NRF52.

SPI_BITORDER_MSBFIRST / SPI_BITORDER_LSBFIRST not defined when compiling
on nrf52.
This commit is contained in:
scott snyder 2019-07-16 23:31:40 -04:00
parent 03c635d2c2
commit fe7ae08615
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ typedef enum _BitOrder {
#endif
// Some platforms have a BitOrder enum but its named MSBFIRST/LSBFIRST
#if defined(ARDUINO_ARCH_SAMD) || defined(__SAM3X8E__)
#if defined(ARDUINO_ARCH_SAMD) || defined(__SAM3X8E__) || defined(ARDUINO_ARCH_NRF52)
#define SPI_BITORDER_MSBFIRST MSBFIRST
#define SPI_BITORDER_LSBFIRST LSBFIRST
#endif