Skip to content

Commit 485ab87

Browse files
committed
fix i2c issue on new esp32 arduino installs
1 parent adfe2a2 commit 485ab87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qwiic_i2c.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ int QwI2C::readRegisterRegion(uint8_t addr, uint8_t reg, uint8_t *data, uint16_t
207207
bFirstInter = false;
208208
}
209209

210-
if (_i2cPort->endTransmission(false) != 0)
210+
if (_i2cPort->endTransmission(true) != 0)
211211
return -1; // error with the end transmission
212212

213213
// We're chunking in data - keeping the max chunk to kMaxI2CBufferLength

0 commit comments

Comments
 (0)