kopia lustrzana https://github.com/Hamlib/Hamlib
Fix Icom IC-726 mode handling.
The IC-726 doesn't accept passband width sub commands with the mode command. Well it does for CW, but not for other modes. I have disabled the sending passband width sub commands for this rig to at least get the mode setting commands accepted by the rig. Fix IC-475A/E mode set command. As with IC-726 very limited passband width sub commands with mode set command so disabled all for now.Hamlib-3.0
rodzic
87ca3f338d
commit
29cb138210
|
@ -676,7 +676,11 @@ int icom_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
return err;
|
||||
|
||||
/* IC-731 and IC-735 don't support passband data */
|
||||
if (priv->civ_731_mode || rig->caps->rig_model == RIG_MODEL_OS456)
|
||||
/* IC-726 & IC-475A/E also limited support - only on CW */
|
||||
/* TODO: G4WJS CW wide/narrow are possible with above two radios */
|
||||
if (priv->civ_731_mode || rig->caps->rig_model == RIG_MODEL_OS456
|
||||
|| rig->caps->rig_model == RIG_MODEL_IC726
|
||||
|| rig->caps->rig_model == RIG_MODEL_IC475)
|
||||
icmode_ext = -1;
|
||||
|
||||
retval = icom_transaction (rig, C_SET_MODE, icmode, (unsigned char *) &icmode_ext,
|
||||
|
|
Ładowanie…
Reference in New Issue