fix "enum not handled in switch"

This commit is contained in:
Gábor Poczkodi 2024-10-20 00:39:29 +02:00
parent 467692d257
commit b41a0ae8e9

View file

@ -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();
}