kopia lustrzana https://github.com/Hamlib/Hamlib
Fix TT599 set bandwidth to return control to bandwidth knob
https://github.com/Hamlib/Hamlib/issues/1055pull/1068/head
rodzic
0373846f8b
commit
c17bcaa343
|
@ -658,12 +658,27 @@ int tt565_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
|
||||
ttreceiver = which_receiver(rig, vfo);
|
||||
|
||||
SNPRINTF(mdbuf, sizeof(mdbuf), "*R%cM%c" EOM "*R%cF%d" EOM,
|
||||
ttreceiver,
|
||||
ttmode,
|
||||
ttreceiver,
|
||||
(int)width
|
||||
);
|
||||
|
||||
if (rig->caps->rig_model == RIG_MODEL_TT599)
|
||||
{
|
||||
// Additional R%CF0 puts bandwidth control back to bandwidth knob
|
||||
SNPRINTF(mdbuf, sizeof(mdbuf), "*R%cM%c" EOM "*R%cF%d" EOM "R%cF0" EOM,
|
||||
ttreceiver,
|
||||
ttmode,
|
||||
ttreceiver,
|
||||
(int)width,
|
||||
ttreceiver
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
SNPRINTF(mdbuf, sizeof(mdbuf), "*R%cM%c" EOM "*R%cF%d" EOM,
|
||||
ttreceiver,
|
||||
ttmode,
|
||||
ttreceiver,
|
||||
(int)width
|
||||
);
|
||||
}
|
||||
|
||||
retval = write_block(&rs->rigport, (unsigned char *) mdbuf, strlen(mdbuf));
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#define TT565_BUFSIZE 16
|
||||
#define TT565_BUFSIZE 32
|
||||
|
||||
/**
|
||||
* \brief Memory capability
|
||||
|
@ -414,7 +414,7 @@ const struct rig_caps tt599_caps = {
|
|||
RIG_MODEL(RIG_MODEL_TT599),
|
||||
.model_name = "TT-599 Eagle",
|
||||
.mfg_name = "Ten-Tec",
|
||||
.version = BACKEND_VER ".0",
|
||||
.version = BACKEND_VER ".1",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||
|
|
Ładowanie…
Reference in New Issue