allow squelch_auto_margin = 0

This commit is contained in:
Jakob Ketterl 2021-02-27 01:23:59 +01:00
parent b6ed06dff4
commit 54142f4f15
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ DemodulatorPanel.prototype.updateSquelch = function() {
};
DemodulatorPanel.prototype.setSquelchMargin = function(margin) {
if (!margin || this.squelchMargin == margin) return;
if (typeof(margin) === 'undefined' || this.squelchMargin == margin) return;
this.squelchMargin = margin;
};