kopia lustrzana https://github.com/Hamlib/Hamlib
Fix set level METER for Yaesu rigs
Fix bug causing set level METER not to work with Yaesu rigs. Fix set meter syntax for FTDX10 Tested with FT991A.pull/950/head
rodzic
4c6f9bf9f2
commit
2b580d1c01
|
@ -3834,12 +3834,16 @@ int newcat_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
||||||
|
|
||||||
if (vfo == RIG_VFO_SUB)
|
if (vfo == RIG_VFO_SUB)
|
||||||
{
|
{
|
||||||
format = "MS1%d";
|
format = "MS1%d;";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (is_ftdx10)
|
||||||
|
{
|
||||||
|
format = "MS%d0;";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
format = "MS%d";
|
format = "MS%d;";
|
||||||
}
|
}
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: format=%s\n", __func__, format);
|
rig_debug(RIG_DEBUG_TRACE, "%s: format=%s\n", __func__, format);
|
||||||
|
@ -10271,6 +10275,10 @@ int newcat_set_cmd_validate(RIG *rig)
|
||||||
{
|
{
|
||||||
strcpy(valcmd, ""); // nothing to validate
|
strcpy(valcmd, ""); // nothing to validate
|
||||||
}
|
}
|
||||||
|
else if (strncmp(priv->cmd_str, "MS", 2) == 0)
|
||||||
|
{
|
||||||
|
strcpy(valcmd, ""); // nothing to validate
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: %s not implemented\n", __func__, priv->cmd_str);
|
rig_debug(RIG_DEBUG_TRACE, "%s: %s not implemented\n", __func__, priv->cmd_str);
|
||||||
|
|
Ładowanie…
Reference in New Issue