kopia lustrzana https://github.com/Hamlib/Hamlib
For all kenwoods query split and don't change if not needed
https://github.com/Hamlib/Hamlib/issues/744pull/750/head
rodzic
4e4c93ff73
commit
e966508b3a
|
@ -1273,15 +1273,14 @@ int kenwood_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo)
|
||||||
|
|
||||||
priv->tx_vfo = txvfo;
|
priv->tx_vfo = txvfo;
|
||||||
|
|
||||||
if (RIG_IS_K2 || RIG_IS_K3)
|
/* do not attempt redundant split change commands on Elecraft as
|
||||||
|
they impact output power when transmitting
|
||||||
|
and all other rigs don't need to set it if it's already set correctly
|
||||||
|
*/
|
||||||
|
if (RIG_OK == (retval = kenwood_safe_transaction(rig, "FT", cmdbuf,
|
||||||
|
sizeof(cmdbuf), 3)))
|
||||||
{
|
{
|
||||||
/* do not attempt redundant split change commands on Elecraft as
|
if (cmdbuf[2] == vfo_function) { RETURNFUNC(RIG_OK); }
|
||||||
they impact output power when transmitting */
|
|
||||||
if (RIG_OK == (retval = kenwood_safe_transaction(rig, "FT", cmdbuf,
|
|
||||||
sizeof(cmdbuf), 3)))
|
|
||||||
{
|
|
||||||
if (cmdbuf[2] == vfo_function) { RETURNFUNC(RIG_OK); }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set TX VFO */
|
/* set TX VFO */
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#define BACKEND_VER "20210615"
|
#define BACKEND_VER "20210717"
|
||||||
|
|
||||||
#define EOM_KEN ';'
|
#define EOM_KEN ';'
|
||||||
#define EOM_TH '\r'
|
#define EOM_TH '\r'
|
||||||
|
|
Ładowanie…
Reference in New Issue