kopia lustrzana https://github.com/Hamlib/Hamlib
k3.c round bandwidth to 10Hz for K4 and 50Hz for other Elecraft rigs
https://github.com/Hamlib/Hamlib/issues/563pull/574/head
rodzic
260c74653e
commit
28f565a8ef
|
@ -1184,7 +1184,16 @@ int k3_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// width is 50Hz rounded down
|
// width is 50Hz rounded down
|
||||||
|
struct kenwood_priv_data *priv = rig->state.priv;
|
||||||
|
if (priv->is_k4)
|
||||||
|
{
|
||||||
|
width += 10; // rounds to 10Hz
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
width += 50;
|
width += 50;
|
||||||
|
}
|
||||||
|
|
||||||
if (width > 99999) width = 99999;
|
if (width > 99999) width = 99999;
|
||||||
|
|
||||||
if (vfo == RIG_VFO_B)
|
if (vfo == RIG_VFO_B)
|
||||||
|
|
Ładowanie…
Reference in New Issue