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

This commit is contained in:
Keith Burzinski
2024-11-28 11:25:00 +13:00
committed by GitHub
parent e124151e5c
commit 7aa3a1a1cc
+2 -1
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;
}