Skip to content

Commit

Permalink
close #421 ; better timing for i2c-th in sensordriver
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Mar 18, 2022
1 parent 8f527c1 commit 396f54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformio/libraries/SensorDriver/SensorDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ void SensorDriverTh::prepare(bool is_test) {
_buffer[i++] = I2C_TH_COMMAND_CONTINUOUS_START_STOP;
}
_buffer[i] = crc8(_buffer, i);
_delay_ms = 15;
_delay_ms = 50;
}

if (is_i2c_write) {
Expand Down

0 comments on commit 396f54b

Please sign in to comment.