update bandpass for secondary modes

This commit is contained in:
Jakob Ketterl 2020-05-03 12:23:23 +02:00
parent e409c37158
commit 26ba8ca999

View File

@ -110,6 +110,9 @@ DemodulatorPanel.prototype.setMode = function(modulation) {
} }
if (mode.type === 'digimode') { if (mode.type === 'digimode') {
this.demodulator.set_secondary_demod(mode.modulation); this.demodulator.set_secondary_demod(mode.modulation);
if (mode.bandpass) {
this.demodulator.setBandpass(mode.bandpass);
}
} else { } else {
this.demodulator.set_secondary_demod(false); this.demodulator.set_secondary_demod(false);
} }