Skip to content

Commit

Permalink
change to instance
Browse files Browse the repository at this point in the history
  • Loading branch information
caternuson committed Aug 11, 2021
1 parent 46afc07 commit 4f50ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_CCS811.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4f50ac3

Please sign in to comment.