Merge pull request #5 from GioTB/master
Fixes error on initialization when SHTC3 its sleep
This commit is contained in:
commit
b784600be7
1 changed files with 1 additions and 1 deletions
|
|
@ -66,8 +66,8 @@ bool Adafruit_SHTC3::begin(TwoWire *theWire) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
reset();
|
|
||||||
sleep(false);
|
sleep(false);
|
||||||
|
reset();
|
||||||
|
|
||||||
// read the ID
|
// read the ID
|
||||||
if ((readID() & 0x083F) != 0x807) {
|
if ((readID() & 0x083F) != 0x807) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue