kopia lustrzana https://github.com/N0BOY/FT8CN
Merge f1d7e97f6b
into ef4f2fab92
commit
ba555de46a
|
@ -58,8 +58,13 @@ public class IcomRig extends BaseRig {
|
|||
|
||||
switch (getControlMode()) {
|
||||
case ControlMode.CAT://以CIV指令
|
||||
getConnector().setPttOn(IcomRigConstant.setPTTState(ctrAddress, getCivAddress()
|
||||
, on ? IcomRigConstant.PTT_ON : IcomRigConstant.PTT_OFF));
|
||||
try{
|
||||
Thread.sleep(100);
|
||||
getConnector().setPttOn(IcomRigConstant.setPTTState(ctrAddress, getCivAddress()
|
||||
, on ? IcomRigConstant.PTT_ON : IcomRigConstant.PTT_OFF));
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, e.getMessage());
|
||||
}
|
||||
break;
|
||||
//case ControlMode.NETWORK:
|
||||
case ControlMode.RTS:
|
||||
|
|
Ładowanie…
Reference in New Issue