kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Merge pull request #17 from howard0su/fix_warn
Add a missing else to shutdown a warning messagepull/29/head
commit
e497122c06
|
@ -95,7 +95,7 @@ void SigPath::setDemodulator(int demId, float bandWidth) {
|
||||||
deemp.bypass = (_deemp == DEEMP_NONE);
|
deemp.bypass = (_deemp == DEEMP_NONE);
|
||||||
demod.start();
|
demod.start();
|
||||||
}
|
}
|
||||||
if (demId == DEMOD_NFM) {
|
else if (demId == DEMOD_NFM) {
|
||||||
API->setVFOSampleRate(vfoName, 16000, bandwidth);
|
API->setVFOSampleRate(vfoName, 16000, bandwidth);
|
||||||
demod.setBlockSize(API->getVFOOutputBlockSize(vfoName));
|
demod.setBlockSize(API->getVFOOutputBlockSize(vfoName));
|
||||||
demod.setSampleRate(16000);
|
demod.setSampleRate(16000);
|
||||||
|
|
Ładowanie…
Reference in New Issue