Set Mode to SSB when inverted SSB transponder, otherwise to LSB/USB

pull/2293/head
int2001 2023-07-15 07:33:45 +00:00
rodzic 36585d12f6
commit 888701aeb7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -228,7 +228,7 @@ $(document).on('change', 'input', function(){
$.each( val.Modes, function( key1, val2 ) {
if(key1 == selected_sat_mode) {
if (val2[0].Uplink_Mode == "LSB" || val2[0].Uplink_Mode == "USB") {
if ( (val2[0].Downlink_Mode == "LSB" && val2[0].Uplink_Mode == "USB") || (val2[0].Downlink_Mode == "USB" && val2[0].Uplink_Mode == "LSB") ) { // inverting Transponder? set to SSB
$("#mode").val("SSB");
} else {
$("#mode").val(val2[0].Uplink_Mode);