mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user