RIG_PASSBAND_NORMAL wasn't handled correctly when rig_set_mode() was called - fixed

Hamlib-3.0
Ervin Hegedus 2014-02-03 21:32:59 +01:00
rodzic ed33efdc2f
commit f0acfa78eb
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1156,6 +1156,8 @@ int kenwood_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|| rig->caps->rig_model == RIG_MODEL_TS850
|| rig->caps->rig_model == RIG_MODEL_TS950SDX) {
if (RIG_PASSBAND_NORMAL == width)
width = rig_passband_normal(rig, mode);
err = kenwood_set_filter(rig, width);
/* non fatal */
}