Merge pull request #17 from howard0su/fix_warn

Add a missing else to shutdown a warning message
pull/29/head
AlexandreRouma 2020-09-06 16:43:16 +03:00 zatwierdzone przez GitHub
commit e497122c06
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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