Skip to content

Commit b950811

Browse files
committed
Removing setClockStretchLimit from ARCH_EPS32 gate.
1 parent 9d4818b commit b950811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_SCD30_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ boolean SCD30::begin(TwoWire &wirePort)
5454
* and now wait for clock stretch to be controlled by the client.
5555
*/
5656

57-
#if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_ESP8266)
57+
#if defined(ARDUINO_ARCH_ESP8266)
5858
_i2cPort->setClockStretchLimit(200000);
5959
#endif
6060

0 commit comments

Comments
 (0)