kopia lustrzana https://github.com/Hamlib/Hamlib
Fix IC7800 to use get_freq instead of 0x18 command since it cannot read power status
rodzic
673ef04b0f
commit
04ee4ec580
|
@ -8197,7 +8197,7 @@ 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)
|
if (rig->caps->rig_model == RIG_MODEL_IC7300 || rig->caps->rig_model == RIG_MODEL_IC7800)
|
||||||
{
|
{
|
||||||
freq_t freq;
|
freq_t freq;
|
||||||
int retrysave = rig->caps->retry;
|
int retrysave = rig->caps->retry;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20230517"
|
#define BACKEND_VER "20230518"
|
||||||
|
|
||||||
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
||||||
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
||||||
|
|
Ładowanie…
Reference in New Issue