kopia lustrzana https://github.com/Hamlib/Hamlib
For FT736 fix set_vfo to also work for VFOB and set split when VFOB is requested
https://github.com/Hamlib/Hamlib/issues/1160pull/1161/head
rodzic
09e73b2ec9
commit
3ce5718a65
rigs/yaesu
|
@ -98,7 +98,7 @@ const struct rig_caps ft736_caps =
|
|||
RIG_MODEL(RIG_MODEL_FT736R),
|
||||
.model_name = "FT-736R",
|
||||
.mfg_name = "Yaesu",
|
||||
.version = "20210221.0",
|
||||
.version = "20211271.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||
|
@ -269,6 +269,9 @@ int ft736_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
unsigned char cmd[YAESU_CMD_LENGTH] = { 0x00, 0x00, 0x00, 0x00, 0x01};
|
||||
struct ft736_priv_data *priv = (struct ft736_priv_data *)rig->state.priv;
|
||||
|
||||
// we will assume requesting to set VFOB is split mode
|
||||
if (vfo == RIG_VFO_B) { return rig_set_split_freq(rig, vfo, freq); }
|
||||
|
||||
if (priv->split == RIG_SPLIT_ON)
|
||||
{
|
||||
cmd[4] = 0x1e;
|
||||
|
|
Ładowanie…
Reference in New Issue