New Kenwood THF-6A backend

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2991 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.13
Stéphane Fillod, F8CFE 2010-10-05 17:57:52 +00:00
rodzic 5f41562b3d
commit 090fe03b5d
1 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -389,7 +389,8 @@ th_set_vfo(RIG *rig, vfo_t vfo)
break;
case RIG_VFO_MEM:
if (rig->caps->rig_model == RIG_MODEL_THF7E)
if (rig->caps->rig_model == RIG_MODEL_THF7E ||
rig->caps->rig_model == RIG_MODEL_THF6A)
sprintf(buf, "VMC 0,1");
else
sprintf(buf, "VMC 0,2");
@ -1596,7 +1597,8 @@ int th_get_channel(RIG *rig, channel_t *chan)
chan->channel_num = channel_num;
chan->vfo = vfo;
if (rig->caps->rig_model == RIG_MODEL_THF7E)
if (rig->caps->rig_model == RIG_MODEL_THF7E ||
rig->caps->rig_model == RIG_MODEL_THF6A)
mr_extra = "";
else
mr_extra = "0, ";
@ -1877,7 +1879,8 @@ int th_set_channel(RIG *rig, const channel_t *chan)
else
return -RIG_ENIMPL;
if (rig->caps->rig_model == RIG_MODEL_THF7E)
if (rig->caps->rig_model == RIG_MODEL_THF7E ||
rig->caps->rig_model == RIG_MODEL_THF6A)
mr_extra = "";
else
mr_extra = "0, ";