Fix Kenwood FR/FT sequencing

https://github.com/Hamlib/Hamlib/issues/746
pull/788/head
Mike Black W9MDB 2021-08-26 16:31:37 -05:00 zatwierdzone przez Wouter van Gulik
rodzic aedcc4191c
commit a851da80e2
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1120,7 +1120,7 @@ int kenwood_set_vfo(RIG *rig, vfo_t vfo)
// FR can turn off split on some Kenwood rigs
// So we'll turn it back on just in case
if (priv->split) { strcat(cmdbuf, "FT1;"); }
if (priv->split && vfo_function == '0') { strcat(cmdbuf, ";FT1"); }
if (RIG_IS_TS50 || RIG_IS_TS940)
{
@ -1261,7 +1261,7 @@ int kenwood_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo)
// FR can turn off split on some Kenwood rigs
// So we'll turn it back on just in case
if (priv->split) { strcat(cmdbuf, "FT1;"); }
if (priv->split && vfo_function=='0') { strcat(cmdbuf, ";FT1"); }
retval = kenwood_transaction(rig, cmdbuf, NULL, 0);

Wyświetl plik

@ -28,7 +28,7 @@
#include "token.h"
#include "misc.h"
#define BACKEND_VER "20210822"
#define BACKEND_VER "20210826"
#define EOM_KEN ';'
#define EOM_TH '\r'