kopia lustrzana https://github.com/Hamlib/Hamlib
Change IC7610 so use 0x03 for get_powerstat
rodzic
1c08cd7a64
commit
125273f7a2
|
@ -350,7 +350,7 @@ const struct rig_caps ic7610_caps =
|
||||||
RIG_MODEL(RIG_MODEL_IC7610),
|
RIG_MODEL(RIG_MODEL_IC7610),
|
||||||
.model_name = "IC-7610",
|
.model_name = "IC-7610",
|
||||||
.mfg_name = "Icom",
|
.mfg_name = "Icom",
|
||||||
.version = BACKEND_VER ".13",
|
.version = BACKEND_VER ".14",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||||
|
@ -582,8 +582,7 @@ const struct rig_caps ic7610_caps =
|
||||||
.set_split_vfo = icom_set_split_vfo,
|
.set_split_vfo = icom_set_split_vfo,
|
||||||
.get_split_vfo = icom_get_split_vfo,
|
.get_split_vfo = icom_get_split_vfo,
|
||||||
.set_powerstat = icom_set_powerstat,
|
.set_powerstat = icom_set_powerstat,
|
||||||
// 7610 cannot read power status apparently
|
.get_powerstat = icom_get_powerstat,
|
||||||
// .get_powerstat = icom_get_powerstat,
|
|
||||||
.send_morse = icom_send_morse,
|
.send_morse = icom_send_morse,
|
||||||
.stop_morse = icom_stop_morse,
|
.stop_morse = icom_stop_morse,
|
||||||
.wait_morse = rig_wait_morse,
|
.wait_morse = rig_wait_morse,
|
||||||
|
|
|
@ -8198,7 +8198,9 @@ int icom_get_powerstat(RIG *rig, powerstat_t *status)
|
||||||
RIG_POWER_ON : RIG_POWER_OFF;
|
RIG_POWER_ON : RIG_POWER_OFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rig->caps->rig_model == RIG_MODEL_IC7300 || rig->caps->rig_model == RIG_MODEL_IC7800)
|
if (rig->caps->rig_model == RIG_MODEL_IC7300
|
||||||
|
|| rig->caps->rig_model == RIG_MODEL_IC7610
|
||||||
|
|| rig->caps->rig_model == RIG_MODEL_IC7800)
|
||||||
{
|
{
|
||||||
freq_t freq;
|
freq_t freq;
|
||||||
int retrysave = rig->caps->retry;
|
int retrysave = rig->caps->retry;
|
||||||
|
|
Ładowanie…
Reference in New Issue