Skip to content

Commit

Permalink
fix compatibility with Silicon Labs boards
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocavagnis committed Nov 15, 2024
1 parent 78d6a13 commit 0394d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_SSD1306.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ typedef uint32_t PortMask;
#elif defined(ARDUINO_ARCH_RTTHREAD)
#undef HAVE_PORTREG
#elif (defined(__arm__) || defined(ARDUINO_FEATHER52)) && \
!defined(ARDUINO_ARCH_MBED) && !defined(ARDUINO_ARCH_RP2040)
!defined(ARDUINO_ARCH_MBED) && !defined(ARDUINO_ARCH_RP2040) && !defined(ARDUINO_SILABS)
typedef volatile uint32_t PortReg;
typedef uint32_t PortMask;
#define HAVE_PORTREG
Expand Down

0 comments on commit 0394d33

Please sign in to comment.