mirror of
https://github.com/esphome/esphome.git
synced 2025-03-02 06:52:27 +01:00
parent
e124151e5c
commit
7aa3a1a1cc
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ void APDS9306::update() {
|
|||
|
||||
this->status_clear_warning();
|
||||
|
||||
if (!(status &= 0b00001000)) { // No new data
|
||||
status &= 0b00001000;
|
||||
if (!status) { // No new data
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue