Small patch so XG3 returns -RIG_EINVAL when trying to set anything other
than VFO_A.
Hamlib-3.0
Michael Black 2015-03-07 00:44:20 -06:00 zatwierdzone przez Nate Bargmann
rodzic 3d99e9dbb6
commit 6dbcaeb20a
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -343,6 +343,7 @@ int xg3_set_vfo(RIG * rig, vfo_t vfo)
if (!rig || !vfo)
return -RIG_EINVAL;
if (vfo != RIG_VFO_A) return -RIG_EINVAL;
// We don't actually set the vfo on the XG3
// But we need this so we can set frequencies on the band buttons
priv->curr_vfo = vfo;