Add RIT and XIT for Flex 6xxx

pull/978/head
Mike Goodey 2022-03-06 09:32:46 +00:00
rodzic 223d2b7c11
commit a012e8e25d
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -145,6 +145,7 @@ int flexradio_open(RIG *rig)
return -RIG_EINVAL;
}
priv->has_rit2 = 1;
/* get current AI state so it can be restored */
priv->trn_state = -1;
kenwood_get_trn(rig, &priv->trn_state); /* ignore errors */

Wyświetl plik

@ -1109,8 +1109,8 @@ const struct rig_caps f6k_caps =
.post_write_delay = 20,
.preamp = { RIG_DBLST_END, },
.attenuator = { RIG_DBLST_END, },
.max_rit = Hz(0),
.max_xit = Hz(0),
.max_rit = Hz(99999),
.max_xit = Hz(99999),
.max_ifshift = Hz(0),
.vfo_ops = RIG_OP_NONE,
.targetable_vfo = RIG_TARGETABLE_FREQ | RIG_TARGETABLE_MODE,
@ -1182,6 +1182,10 @@ const struct rig_caps f6k_caps =
.rig_close = kenwood_close,
.set_freq = kenwood_set_freq,
.get_freq = kenwood_get_freq,
.set_rit = kenwood_set_rit,
.get_rit = kenwood_get_rit,
.set_xit = kenwood_set_xit,
.get_xit = kenwood_get_xit,
.set_mode = flex6k_set_mode,
.get_mode = flex6k_get_mode,
.set_vfo = kenwood_set_vfo,