Undo last commit...FUNC_TONE and FUNC_TSQL handle this correctly

pull/441/head
Michael Black W9MDB 2020-11-11 07:26:51 -06:00
rodzic 056e0b2359
commit 1d07b1d6b6
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -4777,8 +4777,7 @@ int newcat_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
return -RIG_ENAVAIL;
}
// FTDX101D has 3 states 0,1,2
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "CT0%d%c", status , cat_term);
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "CT0%d%c", status ? 1 : 0 , cat_term);
if (rig->caps->targetable_vfo & RIG_TARGETABLE_TONE)
{