Change ftdx3000/5000 to reject setting freq while transmitting and cover VFOA and VFOB

More rigs will probably be added to this list
https://github.com/Hamlib/Hamlib/issues/513
pull/518/head
Michael Black W9MDB 2021-01-22 14:27:29 -06:00
rodzic e7b6e61ed0
commit 7181589c4c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -779,9 +779,9 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
{
// should be true whether we're on VFOA or VFOB but only restricting VFOB right now
// we return RIG_OK as we dont' want
if (is_ftdx3000 && target_vfo == 'B') { return RIG_OK; }
if (is_ftdx3000) { return RIG_ENTARGET; }
if (is_ftdx5000 && target_vfo == 'B') { return RIG_OK; }
if (is_ftdx5000) { return RIG_ENTARGET; }
}
if (RIG_MODEL_FT450 == caps->rig_model)