From 1fa41c4c3e4fd5b1b5a067393c47c3c4e682affb Mon Sep 17 00:00:00 2001 From: dj2ls Date: Mon, 27 Dec 2021 16:34:52 +0100 Subject: [PATCH] fixed advanced hamlib settings for test button #96 --- gui/preload-main.js | 12 +++++------- gui/src/index.html | 1 - 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gui/preload-main.js b/gui/preload-main.js index 9931024f..c5420a7a 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -407,14 +407,12 @@ advancedHamlibSettingsModal var deviceport = document.getElementById("hamlib_deviceport").value var serialspeed = document.getElementById("hamlib_serialspeed").value var pttprotocol = document.getElementById("hamlib_ptt_protocol").value + var data_bits = document.getElementById("hamlib_databits_advanced").value + var stop_bits = document.getElementById("hamlib_stopbits_advanced").value + var handshake = document.getElementById("hamlib_handshake_advanced").value - var pttport = deviceport - - var data_bits = "8" - var stop_bits = "1" - var handshake = "None" - - + var pttport = document.getElementById("hamlib_ptt_port_advanced").value + daemon.testHamlib(deviceid, deviceport, serialspeed, pttprotocol, pttport, data_bits, stop_bits, handshake) }) diff --git a/gui/src/index.html b/gui/src/index.html index cbced8d5..f51cbe03 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -220,7 +220,6 @@ -