Merge pull request #17 from howard0su/fix_warn

Add a missing else to shutdown a warning message
This commit is contained in:
AlexandreRouma 2020-09-06 16:43:16 +03:00 committed by GitHub
commit e497122c06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);