kopia lustrzana https://github.com/Hamlib/Hamlib
Zero out response in flex6xxx.c -- was generating funky error messages
rodzic
673a038de6
commit
92ed52b5f7
|
@ -580,10 +580,11 @@ int flex6k_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
|
||||||
{
|
{
|
||||||
const char *ptt_cmd;
|
const char *ptt_cmd;
|
||||||
int err;
|
int err;
|
||||||
char response[16];
|
char response[16] = "";
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||||
|
|
||||||
|
|
||||||
if (!ptt)
|
if (!ptt)
|
||||||
{
|
{
|
||||||
return -RIG_EINVAL;
|
return -RIG_EINVAL;
|
||||||
|
@ -606,7 +607,7 @@ int flex6k_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
|
||||||
int flex6k_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
int flex6k_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||||
{
|
{
|
||||||
const char *ptt_cmd;
|
const char *ptt_cmd;
|
||||||
char response[16];
|
char response[16] = "";
|
||||||
int err;
|
int err;
|
||||||
int retry = 3;
|
int retry = 3;
|
||||||
|
|
||||||
|
@ -1081,7 +1082,7 @@ const struct rig_caps f6k_caps =
|
||||||
RIG_MODEL(RIG_MODEL_F6K),
|
RIG_MODEL(RIG_MODEL_F6K),
|
||||||
.model_name = "6xxx",
|
.model_name = "6xxx",
|
||||||
.mfg_name = "FlexRadio",
|
.mfg_name = "FlexRadio",
|
||||||
.version = "20201227.0",
|
.version = "20210527.0",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||||
|
@ -1205,7 +1206,7 @@ const struct rig_caps powersdr_caps =
|
||||||
RIG_MODEL(RIG_MODEL_POWERSDR),
|
RIG_MODEL(RIG_MODEL_POWERSDR),
|
||||||
.model_name = "PowerSDR/Thetis",
|
.model_name = "PowerSDR/Thetis",
|
||||||
.mfg_name = "FlexRadio/ANAN",
|
.mfg_name = "FlexRadio/ANAN",
|
||||||
.version = "20201231.0",
|
.version = "20210527.0",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||||
|
|
Ładowanie…
Reference in New Issue