mirror of
https://github.com/esphome/esphome.git
synced 2025-04-15 15:20:27 +01:00
parent
e124151e5c
commit
7aa3a1a1cc
@ -122,7 +122,8 @@ void APDS9306::update() {
|
|||||||
|
|
||||||
this->status_clear_warning();
|
this->status_clear_warning();
|
||||||
|
|
||||||
if (!(status &= 0b00001000)) { // No new data
|
status &= 0b00001000;
|
||||||
|
if (!status) { // No new data
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user