Fix IC7800 to use get_freq instead of 0x18 command since it cannot read power status

pull/1297/head
Mike Black W9MDB 2023-05-18 11:40:43 -05:00
rodzic 673ef04b0f
commit 04ee4ec580
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -8197,7 +8197,7 @@ int icom_get_powerstat(RIG *rig, powerstat_t *status)
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;
int retrysave = rig->caps->retry;

Wyświetl plik

@ -35,7 +35,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20230517"
#define BACKEND_VER "20230518"
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)