Fix icom_set_mode_with_data to also set filter width

https://github.com/Hamlib/Hamlib/issues/811
pull/816/head
Mike Black W9MDB 2021-10-02 23:17:36 -05:00
rodzic 0018422d46
commit 068544eccb
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2008,7 +2008,7 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
RETURNFUNC(retval);
}
if (tmode == mode && ((width == RIG_PASSBAND_NOCHANGE) || (width == twidth))
if (tmode == mode && ((width == RIG_PASSBAND_NOCHANGE) || (width == twidth)))
{
rig_debug(RIG_DEBUG_TRACE, "%s: mode/width not changing\n", __func__);
RETURNFUNC(RIG_OK);
@ -2122,6 +2122,7 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
}
}
}
icom_set_dsp_flt(rig, mode, width);
RETURNFUNC(retval);
}