mirror of
https://github.com/adafruit/Adafruit_SSD1306.git
synced 2026-07-27 20:05:50 +00:00
make default reasonable
This commit is contained in:
+6
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user