kopia lustrzana https://github.com/Hamlib/Hamlib
Ensure kenwood rigs stay in split mode after FR0; command
https://github.com/Hamlib/Hamlib/issues/746pull/750/head
rodzic
a092f1f630
commit
a8200886bf
|
@ -910,6 +910,7 @@ int kenwood_open(RIG *rig)
|
||||||
/* compare id string */
|
/* compare id string */
|
||||||
for (i = 0; kenwood_id_string_list[i].model != RIG_MODEL_NONE; i++)
|
for (i = 0; kenwood_id_string_list[i].model != RIG_MODEL_NONE; i++)
|
||||||
{
|
{
|
||||||
|
//rig_debug(RIG_DEBUG_ERR, "%s: comparing '%s'=='%s'\n", __func__, kenwood_id_string_list[i].id, idptr);
|
||||||
if (strcmp(kenwood_id_string_list[i].id, idptr) != 0)
|
if (strcmp(kenwood_id_string_list[i].id, idptr) != 0)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
@ -1122,6 +1123,11 @@ int kenwood_set_vfo(RIG *rig, vfo_t vfo)
|
||||||
{
|
{
|
||||||
RETURNFUNC(RIG_OK);
|
RETURNFUNC(RIG_OK);
|
||||||
}
|
}
|
||||||
|
// some rigs need split turned on after VFOA is set
|
||||||
|
if (vfo == RIG_VFO_A && priv->split == RIG_SPLIT_ON)
|
||||||
|
{
|
||||||
|
rig_set_split_vfo(rig, RIG_VFO_CURR, 1, priv->tx_vfo);
|
||||||
|
}
|
||||||
|
|
||||||
/* set TX VFO */
|
/* set TX VFO */
|
||||||
cmdbuf[1] = 'T';
|
cmdbuf[1] = 'T';
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#define BACKEND_VER "20210718"
|
#define BACKEND_VER "20210719"
|
||||||
|
|
||||||
#define EOM_KEN ';'
|
#define EOM_KEN ';'
|
||||||
#define EOM_TH '\r'
|
#define EOM_TH '\r'
|
||||||
|
|
Ładowanie…
Reference in New Issue