fix for offset_freq when demodulator is exactly on center_freq
This commit is contained in:
parent
b0f7fd5d00
commit
db7b4f195e
@ -222,7 +222,7 @@ DemodulatorPanel.prototype.transformHashParams = function(params) {
|
||||
var ret = {
|
||||
mod: params.secondary_mod || params.mod
|
||||
};
|
||||
if (params.offset_frequency) ret.offset_frequency = params.offset_frequency;
|
||||
if (typeof(params.offset_frequency) !== 'undefined') ret.offset_frequency = params.offset_frequency;
|
||||
if (typeof(params.sql) !== 'undefined') ret.squelch_level = parseInt(params.sql);
|
||||
return ret;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user