kopia lustrzana https://github.com/Hamlib/Hamlib
Fix rigs so that VFOB/A split works as well as VFOA/B
https://github.com/Hamlib/Hamlib/issues/745pull/822/head
rodzic
fecc7d42aa
commit
2319d17389
|
@ -962,13 +962,6 @@ int kenwood_open(RIG *rig)
|
|||
|
||||
rig->state.rigport.retry = retry_save;
|
||||
|
||||
// Default to 1st VFO and split off -- but only 1 time
|
||||
if (rig->caps->set_vfo && priv->opened == 0)
|
||||
{
|
||||
rig_set_vfo(rig, vfo_fixup(rig, RIG_VFO_A, 0));
|
||||
priv->opened = 1;
|
||||
}
|
||||
|
||||
RETURNFUNC(RIG_OK);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "token.h"
|
||||
#include "misc.h"
|
||||
|
||||
#define BACKEND_VER "20210911"
|
||||
#define BACKEND_VER "20211008"
|
||||
|
||||
#define EOM_KEN ';'
|
||||
#define EOM_TH '\r'
|
||||
|
|
|
@ -1768,7 +1768,7 @@ vfo_t HAMLIB_API vfo_fixup(RIG *rig, vfo_t vfo, split_t split)
|
|||
|
||||
int satmode = rig->state.cache.satmode;
|
||||
|
||||
if (split && vfo == RIG_VFO_TX) { vfo = RIG_VFO_B; }
|
||||
if (split && vfo == RIG_VFO_TX) { vfo = rig->state.tx_vfo; }
|
||||
|
||||
if (VFO_HAS_MAIN_SUB_ONLY && !split && !satmode && vfo != RIG_VFO_B) { vfo = RIG_VFO_MAIN; }
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue