mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 04:25:15 +01:00
fix "enum not handled in switch"
This commit is contained in:
parent
467692d257
commit
b41a0ae8e9
1 changed files with 3 additions and 0 deletions
|
@ -610,6 +610,9 @@ void Si4713Component::set_acomp_preset(AcompPreset value) {
|
|||
this->set_acomp_release(AcompRelease::RELEASE_1000MS);
|
||||
this->set_acomp_gain(5);
|
||||
break;
|
||||
case AcompPreset::ACOMP_CUSTOM:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
this->publish_acomp_preset();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue