From 3f6b9cc5ef13691a1a4f93129cf1b265d47a2016 Mon Sep 17 00:00:00 2001 From: Smittix Date: Wed, 4 Feb 2026 11:00:20 +0000 Subject: [PATCH] Force squelch open for listen audio --- static/js/modes/listening-post.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/js/modes/listening-post.js b/static/js/modes/listening-post.js index 9fa6393..2f893ec 100644 --- a/static/js/modes/listening-post.js +++ b/static/js/modes/listening-post.js @@ -2058,7 +2058,8 @@ async function _startDirectListenInternal() { const freqInput = document.getElementById('radioScanStart'); const freq = freqInput ? parseFloat(freqInput.value) : 118.0; - const squelch = parseInt(document.getElementById('radioSquelchValue')?.textContent) || 30; + const squelchValue = parseInt(document.getElementById('radioSquelchValue')?.textContent); + const squelch = Number.isFinite(squelchValue) ? squelchValue : 0; const gain = parseInt(document.getElementById('radioGainValue')?.textContent) || 40; const device = typeof getSelectedDevice === 'function' ? getSelectedDevice() : 0; const sdrType = typeof getSelectedSDRType === 'function' @@ -2097,7 +2098,7 @@ async function _startDirectListenInternal() { body: JSON.stringify({ frequency: freq, modulation: currentModulation, - squelch: squelch, + squelch: 0, gain: gain, device: device, sdr_type: sdrType,