You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the IC-910 ptt frequency detction needs to be changed to VFO_HAS_MAIN_SUB_A_B_ONLY and return the correct cached frequency for VFOA/VFOB/Main/Sub as appropriate
Use vfo_fixup()
int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
{
struct icom_priv_data *priv;
struct rig_state *rs;
unsigned char freqbuf[MAXFRAMELEN];
unsigned char ackbuf[MAXFRAMELEN];
int freq_len, retval;
int cmd, subcmd;
int ack_len = sizeof(ackbuf);
int civ_731_mode = 0; // even these rigs have 5-byte channels
rig_debug(RIG_DEBUG_VERBOSE, "%s called for %s\n", __func__,
rig_strvfo(vfo));
rs = &rig->state;
priv = (struct icom_priv_data *) rs->priv;
if (rig->caps->rig_model == RIG_MODEL_IC910)
{
ptt_t ptt;
retval = rig_get_ptt(rig, RIG_VFO_CURR, &ptt);
if (retval != RIG_OK)
The text was updated successfully, but these errors were encountered:
It appears the IC-910 ptt frequency detction needs to be changed to VFO_HAS_MAIN_SUB_A_B_ONLY and return the correct cached frequency for VFOA/VFOB/Main/Sub as appropriate
Use vfo_fixup()
int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
{
struct icom_priv_data *priv;
struct rig_state *rs;
unsigned char freqbuf[MAXFRAMELEN];
unsigned char ackbuf[MAXFRAMELEN];
int freq_len, retval;
int cmd, subcmd;
int ack_len = sizeof(ackbuf);
int civ_731_mode = 0; // even these rigs have 5-byte channels
The text was updated successfully, but these errors were encountered: