reset secondary demodulator, too
This commit is contained in:
parent
6a8168025d
commit
25a7bbd86a
@ -1494,7 +1494,7 @@ function parseHash() {
|
|||||||
function validateHash() {
|
function validateHash() {
|
||||||
var params = parseHash();
|
var params = parseHash();
|
||||||
params = Object.keys(params).filter(function(key) {
|
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 params.freq && Math.abs(params.freq - center_freq) < bandwidth;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user