Skip to content

Commit

Permalink
Update aht10.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ateixeira07061992 authored Jan 12, 2025
1 parent ba95ad2 commit d14705d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/aht10/aht10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void AHT10Component::update() {
bool success = false;
for (int i = 0; i < AHT10_ATTEMPTS; ++i) {
ESP_LOGVV(TAG, "Attempt %d at %6u", i, millis());
delay_microseconds_accurate(4);
delay_microseconds_safe(4);

uint8_t reg = 0;
if (this->write(&reg, 1) != i2c::ERROR_OK) {
Expand Down

0 comments on commit d14705d

Please sign in to comment.