1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

[apds9306] clang-tidy fixes for #7822 (#7872)

This commit is contained in:
Keith Burzinski
2024-11-27 16:25:00 -06:00
committed by GitHub
parent e124151e5c
commit 7aa3a1a1cc

View File

@@ -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;
}