kopia lustrzana https://github.com/Hamlib/Hamlib
All Yaesu newcat rigs use the same format for turning CTCSS ON/OFF
rodzic
935b520b44
commit
3af9f06fa5
|
@ -2519,17 +2519,8 @@ int newcat_set_ctcss_tone(RIG *rig, vfo_t vfo, tone_t tone)
|
||||||
|
|
||||||
if (tone == 0) /* turn off ctcss */
|
if (tone == 0) /* turn off ctcss */
|
||||||
{
|
{
|
||||||
if (is_ft891 || is_ft991 || is_ftdx101)
|
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "CT%c0%c", main_sub_vfo,
|
||||||
{
|
cat_term);
|
||||||
// note ftdx101 cat manual says CTP1P2; not CTP1P2P3; so is this correct?
|
|
||||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "CT%c00%c", main_sub_vfo,
|
|
||||||
cat_term);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "CT%c0%c", main_sub_vfo,
|
|
||||||
cat_term);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue