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
|
||||
// width is 50Hz rounded down
|
||||
width += 50;
|
||||
struct kenwood_priv_data *priv = rig->state.priv;
|
||||
if (priv->is_k4)
|
||||
{
|
||||
width += 10; // rounds to 10Hz
|
||||
}
|
||||
else
|
||||
{
|
||||
width += 50;
|
||||
}
|
||||
|
||||
if (width > 99999) width = 99999;
|
||||
|
||||
if (vfo == RIG_VFO_B)
|
||||
|
|
Ładowanie…
Reference in New Issue