Skip to content

Commit

Permalink
Fix invalid ARDUINO_ARCH_ define
Browse files Browse the repository at this point in the history
Fixes #345
  • Loading branch information
marcelstoer committed Dec 21, 2023
1 parent 9be7b01 commit d27d4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SH1106Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class SH1106Wire : public OLEDDisplay {
}

bool connect() {
#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARDUINO_ARCH8266)
#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARDUINO_ARCH_ESP8266)
_wire->begin();
#else
// On ESP32 arduino, -1 means 'don't change pins', someone else has called begin for us.
Expand Down

0 comments on commit d27d4a5

Please sign in to comment.