@@ -689,18 +689,6 @@ async function settrx(qrg, mode = '') {
689689 let options = { } ;
690690 let x ;
691691
692- // Reset split mode before setting frequency
693- postData = '<?xml version="1.0"?>' ;
694- postData += '<methodCall><methodName>rig.set_split</methodName><params><param><value><boolean>false</boolean></value></param></params></methodCall>' ;
695- options = {
696- method : 'POST' ,
697- headers : {
698- 'User-Agent' : 'SW2WL_v' + app . getVersion ( ) ,
699- 'Content-Length' : postData . length
700- }
701- } ;
702- x = await httpPost ( url , options , postData ) ;
703-
704692 if ( defaultcfg . profiles [ defaultcfg . profile ?? 0 ] . wavelog_pmode ) {
705693 postData = '<?xml version="1.0"?>' ;
706694 postData += '<methodCall><methodName>rig.set_modeA</methodName><params><param><value>' + to . mode + '</value></param></params></methodCall>' ;
@@ -729,10 +717,6 @@ async function settrx(qrg, mode = '') {
729717
730718 if ( defaultcfg . profiles [ defaultcfg . profile ?? 0 ] . hamlib_ena ) {
731719 const client = net . createConnection ( { host : defaultcfg . profiles [ defaultcfg . profile ?? 0 ] . hamlib_host , port : defaultcfg . profiles [ defaultcfg . profile ?? 0 ] . hamlib_port } , ( ) => {
732- // Reset split mode before setting frequency
733- client . write ( "s\n" ) ; // Check split ONCE, otherwise Reset won't work
734- client . write ( "S 0 VFOA\n" ) ; // Hamlib sometimes reacts, sometimes not, so:
735- client . write ( "S 0 TX\n" ) ; // Double Tap!
736720 client . write ( "F " + to . qrg + "\n" ) ;
737721 if ( defaultcfg . profiles [ defaultcfg . profile ?? 0 ] . wavelog_pmode ) {
738722 client . write ( "M " + to . mode + " 0\n" ) ;
0 commit comments