make default reasonable

This commit is contained in:
ladyada
2016-12-04 23:13:37 -05:00
parent c89c91f544
commit 2c344af9f6
+6 -2
View File
@@ -35,10 +35,14 @@ All text above, and the splash screen must be included in any redistribution
#elif defined(ESP8266) || defined(ESP32) || defined(ARDUINO_STM32_FEATHER) || defined(__arc__)
typedef volatile uint32_t PortReg;
typedef uint32_t PortMask;
#else
#elif defined(__AVR__)
typedef volatile uint8_t PortReg;
typedef uint8_t PortMask;
#define HAVE_PORTREG
#define HAVE_PORTREG
#else
// chances are its 32 bit so assume that
typedef volatile uint32_t PortReg;
typedef uint32_t PortMask;
#endif
#include <SPI.h>