kopia lustrzana https://github.com/Hamlib/Hamlib
Malachite fix to return good freq for VFOA and zero just for VFOB -- duh
https://github.com/Hamlib/Hamlib/issues/1070pull/1073/head
rodzic
fdbdb388e2
commit
5e9bfed4ce
|
@ -1953,7 +1953,7 @@ int kenwood_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
|
|||
rig_debug(RIG_DEBUG_ERR, "%s: unsupported VFO %s\n", __func__, rig_strvfo(vfo));
|
||||
RETURNFUNC(-RIG_EINVAL);
|
||||
}
|
||||
if (rig->caps->rig_model == RIG_MODEL_MALACHITE)
|
||||
if (rig->caps->rig_model == RIG_MODEL_MALACHITE && vfo == RIG_VFO_B)
|
||||
{
|
||||
// Malachite does not have VFOB so we'll just return VFOA
|
||||
*freq = 0;
|
||||
|
|
|
@ -1847,7 +1847,7 @@ const struct rig_caps malachite_caps =
|
|||
RIG_MODEL(RIG_MODEL_MALACHITE),
|
||||
.model_name = "DSP",
|
||||
.mfg_name = "Malachite",
|
||||
.version = BACKEND_VER ".1",
|
||||
.version = BACKEND_VER ".2",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rig_type = RIG_TYPE_RECEIVER,
|
||||
|
|
Ładowanie…
Reference in New Issue