diff --git a/gui/preload-main.js b/gui/preload-main.js index 376da7db..ce00363b 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -344,9 +344,9 @@ window.addEventListener("DOMContentLoaded", () => { } if (config.low_bandwidth_mode == "True") { - document.getElementById("500HzModeSwitch").checked = true; + document.getElementById("250HzModeSwitch").checked = true; } else { - document.getElementById("500HzModeSwitch").checked = false; + document.getElementById("250HzModeSwitch").checked = false; } if (config.high_graphics == "True") { @@ -1158,8 +1158,8 @@ window.addEventListener("DOMContentLoaded", () => { }); // enable 500z Switch clicked - document.getElementById("500HzModeSwitch").addEventListener("click", () => { - if (document.getElementById("500HzModeSwitch").checked == true) { + document.getElementById("250HzModeSwitch").addEventListener("click", () => { + if (document.getElementById("250HzModeSwitch").checked == true) { config.low_bandwidth_mode = "True"; } else { config.low_bandwidth_mode = "False"; @@ -1484,7 +1484,7 @@ window.addEventListener("DOMContentLoaded", () => { var enable_fft = "False"; } - if (document.getElementById("500HzModeSwitch").checked == true) { + if (document.getElementById("250HzModeSwitch").checked == true) { var low_bandwidth_mode = "True"; } else { var low_bandwidth_mode = "False"; diff --git a/gui/src/index.html b/gui/src/index.html index 115c2d3a..55895522 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -3671,17 +3671,17 @@
Enable 250Hz only mode