Add a missing else to shutdown a warning message

This commit is contained in:
Howard Su 2020-08-29 12:20:34 +08:00
parent 7190acfe9e
commit acf3fe0297

View File

@ -95,7 +95,7 @@ void SigPath::setDemodulator(int demId, float bandWidth) {
deemp.bypass = (_deemp == DEEMP_NONE);
demod.start();
}
if (demId == DEMOD_NFM) {
else if (demId == DEMOD_NFM) {
API->setVFOSampleRate(vfoName, 16000, bandwidth);
demod.setBlockSize(API->getVFOOutputBlockSize(vfoName));
demod.setSampleRate(16000);