mirror of https://github.com/esphome/esphome.git
Update esphome/components/apds9306/apds9306.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
7b4bd97ecc
commit
a11b1308bd
|
@ -105,7 +105,7 @@ void APDS9306::update() {
|
|||
return;
|
||||
|
||||
// Conversions
|
||||
switch (gain_) {
|
||||
switch (this->gain_) {
|
||||
case 0:
|
||||
gain_val_ = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue