Update esphome/components/apds9306/apds9306.cpp

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Aodren Auffrédou-Heinicke 2024-05-14 15:07:57 -07:00 committed by GitHub
parent a31930b21e
commit e068161adf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,7 @@ void APDS9306::update() {
break;
}
switch (bit_width_) {
switch (this->bit_width_) {
case 0:
bit_width_val_ = 20;
break;