kopia lustrzana https://github.com/Hamlib/Hamlib
Add copy A/B for Elecraft K4 to avoid cross-band error when setting split
https://github.com/Hamlib/Hamlib/issues/825pull/846/head
rodzic
736072bbaf
commit
dc09191f07
|
@ -1335,7 +1335,14 @@ int kenwood_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo)
|
|||
}
|
||||
|
||||
/* set TX VFO */
|
||||
snprintf(cmdbuf, sizeof(cmdbuf), "FT%c", vfo_function);
|
||||
if (rig->caps->rig_model == RIG_MODEL_K4) // K4 needs VFOB to be same band as VFOA
|
||||
{
|
||||
snprintf(cmdbuf, sizeof(cmdbuf), "AB0;FT%c", vfo_function);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf(cmdbuf, sizeof(cmdbuf), "FT%c", vfo_function);
|
||||
}
|
||||
retval = kenwood_transaction(rig, cmdbuf, NULL, 0);
|
||||
|
||||
if (retval != RIG_OK)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "token.h"
|
||||
#include "misc.h"
|
||||
|
||||
#define BACKEND_VER "20211015"
|
||||
#define BACKEND_VER "20211018"
|
||||
|
||||
#define EOM_KEN ';'
|
||||
#define EOM_TH '\r'
|
||||
|
|
Ładowanie…
Reference in New Issue