Don't define HAVE_PORTREG for mbed target

Fixes https://github.com/arduino/Arduino/issues/9345
This commit is contained in:
Martino Facchin
2019-10-23 14:41:38 +02:00
committed by GitHub
parent f81d58e9a8
commit 78701a4d21
+1 -1
View File
@@ -48,7 +48,7 @@
typedef volatile RwReg PortReg;
typedef uint32_t PortMask;
#define HAVE_PORTREG
#elif defined(__arm__) || defined(ARDUINO_FEATHER52)
#elif (defined(__arm__) || defined(ARDUINO_FEATHER52)) && !defined(ARDUINO_ARCH_MBED)
typedef volatile uint32_t PortReg;
typedef uint32_t PortMask;
#define HAVE_PORTREG