Now getting scanner threshold from the squelch slider.

This commit is contained in:
Marat Fayzullin 2023-05-10 00:15:41 -04:00
parent 60f70b71eb
commit cfd2b919d1
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ Scanner.prototype.scan = function() {
if (!this.bookmarks || !this.bookmarks.length) return;
if (!this.timer || !this.data.length) return;
// Get current squelch threshold from the slider
var $slider = $('#openwebrx-panel-receiver .openwebrx-squelch-slider');
this.threshold = $slider.val();
// If there is currently selected bookmark...
if (this.current) {
var level = this.getLevel(this.current);