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:37 -07:00 committed by GitHub
parent 7b4bd97ecc
commit a11b1308bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ void APDS9306::update() {
return;
// Conversions
switch (gain_) {
switch (this->gain_) {
case 0:
gain_val_ = 1;
break;