kopia lustrzana https://github.com/Hamlib/Hamlib
Omni VII to set VFO_CURR correctly
Attached small patch allows Omni VII to set VFO_CURR correctly. Sending this via gmail since my yahoo account doesn't get along with the sourceforge lists. 73 Mike W9MDBHamlib-3.0
rodzic
e780f2dc66
commit
3f1bde0890
|
@ -405,6 +405,10 @@ int tt588_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) {
|
||||||
|
|
||||||
int cmd_len, resp_len, retval;
|
int cmd_len, resp_len, retval;
|
||||||
unsigned char cmdbuf[16], respbuf[32];
|
unsigned char cmdbuf[16], respbuf[32];
|
||||||
|
struct tt588_priv_data *priv = (struct tt588_priv_data *) rig->state.priv;
|
||||||
|
|
||||||
|
if (vfo == RIG_VFO_CURR)
|
||||||
|
vfo = priv->vfo_curr;
|
||||||
|
|
||||||
if(check_vfo(vfo)==FALSE) {
|
if(check_vfo(vfo)==FALSE) {
|
||||||
rig_debug(RIG_DEBUG_ERR,"%s: unsupported VFO %s\n", __FUNCTION__, rig_strvfo(vfo));
|
rig_debug(RIG_DEBUG_ERR,"%s: unsupported VFO %s\n", __FUNCTION__, rig_strvfo(vfo));
|
||||||
|
|
Ładowanie…
Reference in New Issue