fixed advanced hamlib settings for test button

#96
This commit is contained in:
dj2ls 2021-12-27 16:34:52 +01:00
parent 66a39b5368
commit 1fa41c4c3e
2 changed files with 5 additions and 8 deletions

View file

@ -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)
})

View file

@ -220,7 +220,6 @@
<path d="M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"/>
</svg>
</span>
<select class="form-select form-select-sm" id="audio_input_selectbox" aria-label=".form-select-sm">
<!-- <option selected value="3011">USB Interface</option>-->
</select>
</div>