kopia lustrzana https://github.com/Hamlib/Hamlib
Make elecraft rigs set_vfo to VFO_A if get_vfo is not A or B
https://github.com/Hamlib/Hamlib/issues/563pull/574/head
rodzic
692e562e66
commit
126e27dc91
|
@ -283,6 +283,14 @@ int elecraft_open(RIG *rig)
|
||||||
it's not supported */
|
it's not supported */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// For rigs like K3X vfo emulation need to set VFO_A to start
|
||||||
|
vfo_t vfo;
|
||||||
|
rig_get_vfo(rig, &vfo);
|
||||||
|
if (vfo != RIG_VFO_A && vfo != RIG_VFO_B)
|
||||||
|
{
|
||||||
|
rig_set_vfo(rig, RIG_VFO_A);
|
||||||
|
}
|
||||||
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue