added enable_hamlib_pttprotocol

This commit is contained in:
dj2ls 2022-10-03 13:10:19 +02:00
parent 9bc0c829f9
commit bc9d416446

View file

@ -582,6 +582,12 @@ document.getElementById('hamlib_rigctld_start').addEventListener('click', () =>
paramList = paramList.concat('-p', hamlib_ptt_port)
}
// hamlib ptt type
if (document.getElementById('enable_hamlib_pttprotocol').checked){
var hamlib_ptt_type = document.getElementById("hamlib_pttprotocol").value;
paramList = paramList.concat('--ptt-type=', hamlib_ptt_type)
}
document.getElementById('hamlib_rigctld_command').value = paramList