make auto squelch level margin configurable

This commit is contained in:
Jakob Ketterl
2020-11-12 18:00:24 +01:00
parent 0f4b8dc794
commit 504c256b3e
7 changed files with 24 additions and 4 deletions

View File

@ -726,6 +726,7 @@ function on_ws_recv(evt) {
var demodulatorPanel = $('#openwebrx-panel-receiver').demodulatorPanel();
demodulatorPanel.setCenterFrequency(center_freq);
demodulatorPanel.setInitialParams(initial_demodulator_params);
demodulatorPanel.setSquelchMargin(config['squelch_auto_margin']);
bookmarks.loadLocalBookmarks();
waterfall_clear();