From 26ba8ca999edbb04e05d3cc1bc011ab1dc34b6ec Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 3 May 2020 12:23:23 +0200 Subject: [PATCH] update bandpass for secondary modes --- htdocs/lib/DemodulatorPanel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/lib/DemodulatorPanel.js b/htdocs/lib/DemodulatorPanel.js index fb6e7c3..6cdc8f0 100644 --- a/htdocs/lib/DemodulatorPanel.js +++ b/htdocs/lib/DemodulatorPanel.js @@ -110,6 +110,9 @@ DemodulatorPanel.prototype.setMode = function(modulation) { } if (mode.type === 'digimode') { this.demodulator.set_secondary_demod(mode.modulation); + if (mode.bandpass) { + this.demodulator.setBandpass(mode.bandpass); + } } else { this.demodulator.set_secondary_demod(false); }