Merge pull request #508 from mikaelnousiainen/fix-yaesu-ctcss-off

All Yaesu newcat rigs use the same format for turning CTCSS ON/OFF
pull/518/head
Michael Black 2021-01-12 15:05:44 -06:00 zatwierdzone przez GitHub
commit 2c224a9ca1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 11 usunięć

Wyświetl plik

@ -2518,19 +2518,10 @@ int newcat_set_ctcss_tone(RIG *rig, vfo_t vfo, tone_t tone)
}
if (tone == 0) /* turn off ctcss */
{
if (is_ft891 || is_ft991 || is_ftdx101)
{
// 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
{
if (is_ft891 || is_ft991 || is_ftdx101 || is_ftdx10)