kopia lustrzana https://github.com/Hamlib/Hamlib
Remove get_dsp_flt for G90 as it does not have that command
rodzic
ccd6472f03
commit
147dea7651
|
@ -2761,7 +2761,12 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
|||
rig_set_vfo(rig, vfo); // force VFO
|
||||
}
|
||||
|
||||
retval = icom_get_dsp_flt(rig, *mode);
|
||||
retval = 0;
|
||||
// G90 does have dsp_flt command
|
||||
if (rig->caps->rig_model != RIG_MODEL_G90)
|
||||
{
|
||||
retval = icom_get_dsp_flt(rig, *mode);
|
||||
}
|
||||
*width = retval;
|
||||
|
||||
if (retval == 0)
|
||||
|
@ -2784,7 +2789,12 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
|||
// we need to figure out how to read VFOB without swapping VFOs
|
||||
//HAMLIB_TRACE;
|
||||
//rig_set_vfo(rig, RIG_VFO_B);
|
||||
retval = icom_get_dsp_flt(rig, *mode);
|
||||
retval = 0;
|
||||
|
||||
if (rig->caps->rig_model != RIG_MODEL_G90)
|
||||
{
|
||||
retval = icom_get_dsp_flt(rig, *mode);
|
||||
}
|
||||
*width = retval;
|
||||
|
||||
if (*width == 0) { *width = rig->state.cache.widthMainA; } // we'll use VFOA's width
|
||||
|
|
Ładowanie…
Reference in New Issue