update bandpass for secondary modes
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user