Skip to content

Commit 14449d7

Browse files
committed
recent chips have needed a longer delay
1 parent 1bd0e45 commit 14449d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adafruit_SGP40.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ bool Adafruit_SGP40::selfTest(void) {
112112
command[0] = 0x28;
113113
command[1] = 0x0E;
114114

115-
if (!readWordFromCommand(command, 2, 250, &reply, 1))
115+
if (!readWordFromCommand(command, 2, 500, &reply, 1))
116116
return false;
117117
if ((reply == 0xD400)) {
118118
return true;

0 commit comments

Comments
 (0)