Remove ST command from newcat.c for FTDX101D/MP set_tx_vfo

Seems to fail on latest firmware for FTDX101MP
https://github.com/Hamlib/Hamlib/issues/1379
pull/1389/head
Mike Black W9MDB 2023-09-11 22:09:11 -05:00
rodzic 6f229d1c1a
commit 81e14ae4f1
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -7915,12 +7915,14 @@ int newcat_set_tx_vfo(RIG *rig, vfo_t tx_vfo)
if (rig->state.current_vfo == RIG_VFO_B || rig->state.current_vfo == RIG_VFO_SUB) { p1++; } if (rig->state.current_vfo == RIG_VFO_B || rig->state.current_vfo == RIG_VFO_SUB) { p1++; }
} }
if (is_ftdx101d || is_ftdx101mp) #if 0 // this doesn't seem to work on FTDX101MP latest firmware as of 20230911
if ((is_ftdx101d || is_ftdx101mp) && p1 == '1')
{ {
// what other Yaesu rigs should be using this? // what other Yaesu rigs should be using this?
// The DX101D returns FT0 when in split and not transmitting // The DX101D returns FT0 when in split and not transmitting
command = "ST"; command = "ST";
} }
#endif
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "%s%c%c", command, p1, cat_term); SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "%s%c%c", command, p1, cat_term);