Merge pull request #2 from scott-snyder/nrf52-20190716

Fix for compiling on NRF52.
This commit is contained in:
Limor "Ladyada" Fried 2019-07-16 23:40:00 -04:00 committed by GitHub
commit e51641bcc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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