kopia lustrzana https://github.com/Hamlib/Hamlib
Change vfo_fixup to default to VFO_A when not in split mode
Was staying on VFO_B when VFO_B was requested https://github.com/Hamlib/Hamlib/issues/741pull/750/head
rodzic
756f8052fc
commit
a6d91eb8a8
|
@ -1762,9 +1762,8 @@ vfo_t HAMLIB_API vfo_fixup(RIG *rig, vfo_t vfo)
|
|||
|
||||
int satmode = rig->state.cache.satmode;
|
||||
|
||||
if (vfo == RIG_VFO_TX) { vfo = RIG_VFO_A; }
|
||||
|
||||
if (split) { vfo = RIG_VFO_B; }
|
||||
else { vfo = RIG_VFO_A; }
|
||||
|
||||
if (VFO_HAS_MAIN_SUB_ONLY && !split && !satmode && vfo != RIG_VFO_B) { vfo = RIG_VFO_MAIN; }
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue