Add RX command to kenwood rigs hopefully setting VFO to VFOA after split set

FT450 and others turn split off doing FR0 and FT1; leaves the rig on VFOB
https://github.com/Hamlib/Hamlib/issues/746
pull/776/head
Mike Black W9MDB 2021-08-27 13:08:15 -05:00
rodzic 5a0590d421
commit fe8c02bba0
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 && vfo_function == '0') { strcat(cmdbuf, ";FT1"); }
if (priv->split && vfo_function == '0') { strcat(cmdbuf, ";FT1;RX"); }
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 (split && vfo_function=='0') { strcat(cmdbuf, ";FT1"); }
if (split && vfo_function=='0') { strcat(cmdbuf, ";FT1;RX"); }
retval = kenwood_transaction(rig, cmdbuf, NULL, 0);

Wyświetl plik

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