Fix Elad FDM-Duo split command -- was using TB but needs to be SP

pull/1068/head
Mike Black W9MDB 2022-06-08 08:40:14 -05:00
rodzic 24c18938c2
commit dc89d085d0
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -919,7 +919,7 @@ int elad_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo)
if (retval != RIG_OK) { return retval; }
}
SNPRINTF(cmdbuf, sizeof(cmdbuf), "TB%c", RIG_SPLIT_ON == split ? '1' : '0');
SNPRINTF(cmdbuf, sizeof(cmdbuf), "SP%c", RIG_SPLIT_ON == split ? '1' : '0');
return elad_transaction(rig, cmdbuf, NULL, 0);
}
@ -1057,7 +1057,7 @@ int elad_get_split_vfo_if(RIG *rig, vfo_t rxvfo, split_t *split, vfo_t *txvfo)
{
char buf[4];
if (RIG_OK == (retval = elad_safe_transaction(rig, "TB", buf, sizeof(buf), 3)))
if (RIG_OK == (retval = elad_safe_transaction(rig, "SP", buf, sizeof(buf), 3)))
{
if ('1' == buf[2])
{

Wyświetl plik

@ -28,7 +28,7 @@
#include <string.h>
#include "token.h"
#define BACKEND_VER "20200117"
#define BACKEND_VER "20220608"
#define EOM_KEN ';'
#define EOM_TH '\r'