kopia lustrzana https://github.com/Hamlib/Hamlib
Fix RIG_IS_THETIS in kenwood.c to match RIG_IS_POWERSDR
rodzic
08ba518b71
commit
02a6c80800
|
@ -710,7 +710,7 @@ int kenwood_safe_transaction(RIG *rig, const char *cmd, char *buf,
|
|||
{
|
||||
size_t length;
|
||||
// some PowerSDR commands have variable len
|
||||
int checklen = !RIG_IS_POWERSDR;
|
||||
int checklen = !RIG_IS_POWERSDR && !RIG_IS_THETIS;
|
||||
err = kenwood_transaction(rig, cmd, buf, buf_size);
|
||||
|
||||
if (err != RIG_OK) /* return immediately on error as any
|
||||
|
@ -5052,7 +5052,7 @@ int kenwood_get_trn(RIG *rig, int *trn)
|
|||
|
||||
/* these rigs only have AI[0|1] set commands and no AI query */
|
||||
if (RIG_IS_TS450S || RIG_IS_TS690S || RIG_IS_TS790 || RIG_IS_TS850
|
||||
|| RIG_IS_TS950S || RIG_IS_TS950SDX || RIG_IS_POWERSDR)
|
||||
|| RIG_IS_TS950S || RIG_IS_TS950SDX || RIG_IS_POWERSDR || RIG_IS_THETIS)
|
||||
{
|
||||
RETURNFUNC(-RIG_ENAVAIL);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "token.h"
|
||||
#include "idx_builtin.h"
|
||||
|
||||
#define BACKEND_VER "20231112"
|
||||
#define BACKEND_VER "20231226"
|
||||
|
||||
#define EOM_KEN ';'
|
||||
#define EOM_TH '\r'
|
||||
|
@ -109,6 +109,7 @@ extern struct confparams kenwood_cfg_params[];
|
|||
#define RIG_IS_XG3 (rig->caps->rig_model == RIG_MODEL_XG3)
|
||||
#define RIG_IS_PT8000A (rig->caps->rig_model == RIG_MODEL_PT8000A)
|
||||
#define RIG_IS_POWERSDR (rig->caps->rig_model == RIG_MODEL_POWERSDR)
|
||||
#define RIG_IS_THETIS (rig->caps->rig_model == RIG_MODEL_THETIS)
|
||||
#define RIG_IS_MALACHITE (rig->caps->rig_model == RIG_MODEL_MALACHITE)
|
||||
#define RIG_IS_QRPLABS (rig->caps->rig_model == RIG_MODEL_QRPLABS)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue