reset secondary demodulator, too

This commit is contained in:
Jakob Ketterl 2020-04-26 23:14:34 +02:00
parent 6a8168025d
commit 25a7bbd86a
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,7 @@ function parseHash() {
function validateHash() {
var params = parseHash();
params = Object.keys(params).filter(function(key) {
if (key == 'freq' || key == 'mod') {
if (key == 'freq' || key == 'mod' || key == 'secondary_mod') {
return params.freq && Math.abs(params.freq - center_freq) < bandwidth;
}
return true;