Add IC275 to icom rigs that can't do 0x25

pull/1102/head
Mike Black W9MDB 2022-08-19 07:55:20 -05:00
rodzic ed5a26ac4e
commit 6965927fb4
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -682,7 +682,8 @@ int icom_init(RIG *rig)
// 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_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_IC706MKII
|| rig->caps->rig_model == RIG_MODEL_IC706MKIIG

Wyświetl plik

@ -30,7 +30,7 @@
#include <sys/time.h>
#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_GET_VFO_NUMBER(vfo) (ICOM_IS_SECONDARY_VFO(vfo) ? 0x01 : 0x00)