1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-18 07:45:56 +00:00

Update esphome/components/bh1750/bh1750.cpp

This commit is contained in:
J. Nick Koston
2025-11-17 08:48:42 -06:00
committed by GitHub
parent a6f416a09e
commit 41ac12a0e1

View File

@@ -131,6 +131,7 @@ void BH1750Sensor::loop() {
this->process_coarse_result_(lx);
// Start fine measurement with optimal settings
// fetch millis() again since the read can take a bit
if (!this->start_measurement_(this->fine_mode_, this->fine_mtreg_, millis())) {
this->fail_and_reset_();
break;