Mike Black W9MDB 2023-02-06 15:58:18 -06:00
rodzic e9724a9058
commit 73fc563ceb
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -1026,7 +1026,7 @@ int kenwood_open(RIG *rig)
it's not supported */
}
if (!RIG_IS_THD74 && !RIG_IS_THD7A)
if (!RIG_IS_THD74 && !RIG_IS_THD7A && !RIG_IS_TMD700)
{
// call get_split to fill in current split and tx_vfo status
retval = kenwood_get_split_vfo_if(rig, RIG_VFO_A, &split, &tx_vfo);
@ -4806,7 +4806,7 @@ int kenwood_get_trn(RIG *rig, int *trn)
RETURNFUNC(-RIG_ENAVAIL);
}
if (RIG_IS_THD74 || RIG_IS_THD7A)
if (RIG_IS_THD74 || RIG_IS_THD7A || RIG_IS_TMD700)
{
retval = kenwood_safe_transaction(rig, "AI", trnbuf, 6, 4);
}
@ -4820,7 +4820,7 @@ int kenwood_get_trn(RIG *rig, int *trn)
RETURNFUNC(retval);
}
if (RIG_IS_THD74 || RIG_IS_THD7A)
if (RIG_IS_THD74 || RIG_IS_THD7A || RIG_IS_TMD700)
{
*trn = trnbuf[3] != '0' ? RIG_TRN_RIG : RIG_TRN_OFF;
}

Wyświetl plik

@ -29,7 +29,7 @@
#include "misc.h"
#include "idx_builtin.h"
#define BACKEND_VER "20230201"
#define BACKEND_VER "20230204"
#define EOM_KEN ';'
#define EOM_TH '\r'
@ -92,6 +92,7 @@ extern struct confparams kenwood_cfg_params[];
#define RIG_IS_KX3 (rig->caps->rig_model == RIG_MODEL_KX3)
#define RIG_IS_THD7A (rig->caps->rig_model == RIG_MODEL_THD7A)
#define RIG_IS_THD74 (rig->caps->rig_model == RIG_MODEL_THD74)
#define RIG_IS_TMD700 (rig->caps->rig_model == RIG_MODEL_TMD700)
#define RIG_IS_TS2000 (rig->caps->rig_model == RIG_MODEL_TS2000)
#define RIG_IS_TS50 (rig->caps->rig_model == RIG_MODEL_TS50)
#define RIG_IS_TS450S (rig->caps->rig_model == RIG_MODEL_TS450S)