mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 23:35:47 +00:00
Update esphome/components/bh1750/bh1750.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user