kopia lustrzana https://github.com/Hamlib/Hamlib
Start excluding some Icom rigs from checking x25 command
Rigs like IC-751 don't even reject it and have to time outpull/1001/head
rodzic
56fc193323
commit
3aa8f31dcd
|
@ -678,6 +678,16 @@ int icom_init(RIG *rig)
|
||||||
priv->filter = RIG_PASSBAND_NOCHANGE;
|
priv->filter = RIG_PASSBAND_NOCHANGE;
|
||||||
priv->x25cmdfails = 0;
|
priv->x25cmdfails = 0;
|
||||||
priv->x1cx03cmdfails = 0;
|
priv->x1cx03cmdfails = 0;
|
||||||
|
// we can add rigs here that will never use the 0x25 cmd
|
||||||
|
// some like the 751 don't even reject the command and have to time out
|
||||||
|
if (rig->caps->rig_model == RIG_MODEL_IC706
|
||||||
|
|| rig->caps->rig_model == RIG_MODEL_IC706MKII
|
||||||
|
|| rig->caps->rig_model == RIG_MODEL_IC706MKIIG
|
||||||
|
|| rig->caps->rig_model == RIG_MODEL_IC751
|
||||||
|
)
|
||||||
|
{
|
||||||
|
priv->x25cmdfails = 1;
|
||||||
|
}
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: done\n", __func__);
|
rig_debug(RIG_DEBUG_TRACE, "%s: done\n", __func__);
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20220324"
|
#define BACKEND_VER "20220326"
|
||||||
|
|
||||||
#define ICOM_IS_SECONDARY_VFO(vfo) ((vfo) & (RIG_VFO_B | RIG_VFO_SUB | RIG_VFO_SUB_B | RIG_VFO_MAIN_B))
|
#define ICOM_IS_SECONDARY_VFO(vfo) ((vfo) & (RIG_VFO_B | RIG_VFO_SUB | RIG_VFO_SUB_B | RIG_VFO_MAIN_B))
|
||||||
#define ICOM_GET_VFO_NUMBER(vfo) (ICOM_IS_SECONDARY_VFO(vfo) ? 0x01 : 0x00)
|
#define ICOM_GET_VFO_NUMBER(vfo) (ICOM_IS_SECONDARY_VFO(vfo) ? 0x01 : 0x00)
|
||||||
|
|
Ładowanie…
Reference in New Issue