Change newcat.c to assume split is on VFO_B

Testing with FT-DX101D was return split=0 when used with WSJT-X split mode
https://github.com/Hamlib/Hamlib/issues/293
pull/312/head
Michael Black W9MDB 2020-06-14 15:28:52 -05:00
rodzic dc07c20e96
commit 15ac0bbc99
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -1521,8 +1521,8 @@ int newcat_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo)
return err;
}
// should this just return VFO_A/VFO_B?
if (*tx_vfo != vfo)
// we assume split is always on VFO_B
if (*tx_vfo == RIG_VFO_B)
{
*split = RIG_SPLIT_ON;
}
@ -4855,10 +4855,12 @@ int newcat_get_tx_vfo(RIG *rig, vfo_t *tx_vfo)
{
case '0':
*tx_vfo = RIG_VFO_A;
rig->state.cache.split = 0;
break;
case '1' :
*tx_vfo = RIG_VFO_B;
rig->state.cache.split = 1;
break;
default: