Proper fix for ESP8266

This commit is contained in:
Max Horn
2016-01-07 10:13:19 +01:00
parent 6227879fba
commit 491fa0d913
+3
View File
@@ -32,6 +32,9 @@ All text above, and the splash screen must be included in any redistribution
#define HAVE_PORTREG
#elif defined(ARDUINO_ARCH_SAMD)
// not supported
#elif defined(ESP8266)
typedef volatile uint32_t PortReg;
typedef uint32_t PortMask;
#else
typedef volatile uint8_t PortReg;
typedef uint8_t PortMask;