From 4f50ac3a1c79cb3919511561cf9508405ec3c286 Mon Sep 17 00:00:00 2001 From: caternuson Date: Wed, 11 Aug 2021 09:03:16 -0700 Subject: [PATCH] change to instance --- Adafruit_CCS811.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_CCS811.cpp b/Adafruit_CCS811.cpp index 0954e03..42a0266 100644 --- a/Adafruit_CCS811.cpp +++ b/Adafruit_CCS811.cpp @@ -16,7 +16,7 @@ bool Adafruit_CCS811::begin(uint8_t addr, TwoWire *theWire) { return false; } #ifdef ESP8266 - Wire.setClockStretchLimit(500); + theWire->setClockStretchLimit(500); #endif SWReset();