kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
e9724a9058
commit
73fc563ceb
|
@ -1026,7 +1026,7 @@ int kenwood_open(RIG *rig)
|
||||||
it's not supported */
|
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
|
// 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);
|
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);
|
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);
|
retval = kenwood_safe_transaction(rig, "AI", trnbuf, 6, 4);
|
||||||
}
|
}
|
||||||
|
@ -4820,7 +4820,7 @@ int kenwood_get_trn(RIG *rig, int *trn)
|
||||||
RETURNFUNC(retval);
|
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;
|
*trn = trnbuf[3] != '0' ? RIG_TRN_RIG : RIG_TRN_OFF;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "idx_builtin.h"
|
#include "idx_builtin.h"
|
||||||
|
|
||||||
#define BACKEND_VER "20230201"
|
#define BACKEND_VER "20230204"
|
||||||
|
|
||||||
#define EOM_KEN ';'
|
#define EOM_KEN ';'
|
||||||
#define EOM_TH '\r'
|
#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_KX3 (rig->caps->rig_model == RIG_MODEL_KX3)
|
||||||
#define RIG_IS_THD7A (rig->caps->rig_model == RIG_MODEL_THD7A)
|
#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_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_TS2000 (rig->caps->rig_model == RIG_MODEL_TS2000)
|
||||||
#define RIG_IS_TS50 (rig->caps->rig_model == RIG_MODEL_TS50)
|
#define RIG_IS_TS50 (rig->caps->rig_model == RIG_MODEL_TS50)
|
||||||
#define RIG_IS_TS450S (rig->caps->rig_model == RIG_MODEL_TS450S)
|
#define RIG_IS_TS450S (rig->caps->rig_model == RIG_MODEL_TS450S)
|
||||||
|
|
Ładowanie…
Reference in New Issue