We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389f4cd commit 44618daCopy full SHA for 44618da
Adafruit_I2CDevice.cpp
@@ -42,7 +42,11 @@ void Adafruit_I2CDevice::end(void) {
42
// Not all port implement Wire::end(), such as
43
// - ESP8266
44
// - AVR core without WIRE_HAS_END
45
-#if !(defined(ESP8266) || (defined(ARDUINO_ARCH_AVR) && !defined(WIRE_HAS_END)))
+ // - ESP32: end() is implemented since 2.0.1 which is latest at the moment.
46
+ // Temporarily disable for now to give time for user to update.
47
+#if !(defined(ESP8266) || \
48
+ (defined(ARDUINO_ARCH_AVR) && !defined(WIRE_HAS_END)) || \
49
+ defined(ARDUINO_ARCH_ESP32))
50
_wire->end();
51
_begun = false;
52
#endif
0 commit comments