We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c519c0e commit f09ecb7Copy full SHA for f09ecb7
src/SSD1306Wire.h
@@ -82,7 +82,7 @@ class SSD1306Wire : public OLEDDisplay {
82
}
83
84
bool connect() {
85
-#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARDUINO_ARCH8266)
+#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARDUINO_ARCH_ESP8266)
86
_wire->begin();
87
#else
88
// On ESP32 arduino, -1 means 'don't change pins', someone else has called begin for us.
@@ -198,7 +198,7 @@ class SSD1306Wire : public OLEDDisplay {
198
199
void initI2cIfNeccesary() {
200
if (_doI2cAutoInit) {
201
202
203
204
_wire->begin(this->_sda, this->_scl);
0 commit comments