mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
beaconINtervall hotfix
This commit is contained in:
parent
091e7383fe
commit
8b316484ae
1 changed files with 7 additions and 0 deletions
|
@ -255,8 +255,15 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
document.getElementById("hamlib_rigctld_server_port").value =
|
||||
config.hamlib_rigctld_server_port;
|
||||
|
||||
// running this in try catch for setting default value in case of wrong beacon intervals
|
||||
try{
|
||||
document.getElementById("beaconInterval").value = config.beacon_interval;
|
||||
} catch(e){
|
||||
console.log(e);
|
||||
document.getElementById("beaconInterval").value = 300;
|
||||
|
||||
|
||||
}
|
||||
document.getElementById("scatterSwitch").value = config.enable_scatter;
|
||||
document.getElementById("fftSwitch").value = config.enable_fft;
|
||||
|
||||
|
|
Loading…
Reference in a new issue