Add PORTDUINO check to Adafruit_SPIDevice.h
The PORTDUINO target on ARMv7 was triggering the defined(__arm__) code block, and failing compilation as a result. Quick fix to check for PORTDUINO.
This commit is contained in:
parent
055013b58d
commit
18a22e98ac
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ typedef uint32_t BusIO_PortMask;
|
|||
|
||||
#elif (defined(__arm__) || defined(ARDUINO_FEATHER52)) && \
|
||||
!defined(ARDUINO_ARCH_RP2040) && !defined(ARDUINO_SILABS) && \
|
||||
!defined(ARDUINO_UNOR4_MINIMA) && !defined(ARDUINO_UNOR4_WIFI)
|
||||
!defined(ARDUINO_UNOR4_MINIMA) && !defined(ARDUINO_UNOR4_WIFI) && !defined(PORTDUINO)
|
||||
typedef volatile uint32_t BusIO_PortReg;
|
||||
typedef uint32_t BusIO_PortMask;
|
||||
#if !defined(__ASR6501__) && !defined(__ASR6502__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue