kopia lustrzana https://github.com/Hamlib/Hamlib
Fix rig_cache to fix up RIG_VFO_OTHER when requested.
https://github.com/Hamlib/Hamlib/issues/1086pull/1091/head
rodzic
d9c7fda5c9
commit
cc7c5961a0
|
@ -46,6 +46,7 @@ int rig_set_cache_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
if (vfo == RIG_VFO_NONE || vfo == RIG_VFO_CURR) { vfo = RIG_VFO_A; }
|
||||
|
||||
if (vfo == RIG_VFO_SUB && rig->state.cache.satmode) { vfo = RIG_VFO_SUB_A; };
|
||||
if (vfo == RIG_VFO_OTHER) vfo = vfo_fixup(rig, vfo, rig->state.cache.split);
|
||||
|
||||
switch (vfo)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue