kopia lustrzana https://github.com/Hamlib/Hamlib
Add IC275 to icom rigs that can't do 0x25
rodzic
ed5a26ac4e
commit
6965927fb4
|
@ -682,7 +682,8 @@ int icom_init(RIG *rig)
|
||||||
// we can add rigs here that will never use the 0x25 cmd
|
// 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
|
// some like the 751 don't even reject the command and have to time out
|
||||||
if (
|
if (
|
||||||
rig->caps->rig_model == RIG_MODEL_IC375
|
rig->caps->rig_model == RIG_MODEL_IC275
|
||||||
|
|| rig->caps->rig_model == RIG_MODEL_IC375
|
||||||
|| rig->caps->rig_model == RIG_MODEL_IC706
|
|| rig->caps->rig_model == RIG_MODEL_IC706
|
||||||
|| rig->caps->rig_model == RIG_MODEL_IC706MKII
|
|| rig->caps->rig_model == RIG_MODEL_IC706MKII
|
||||||
|| rig->caps->rig_model == RIG_MODEL_IC706MKIIG
|
|| rig->caps->rig_model == RIG_MODEL_IC706MKIIG
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20220801"
|
#define BACKEND_VER "20220819"
|
||||||
|
|
||||||
#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