From fff80331411152a54dadfba1a81785eccf52ec50 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Tue, 23 Jun 2015 11:01:45 -0500 Subject: [PATCH] Omni VII patch for WSJT-X Patch for TenTec Omni VII to allow rig control with latest version of wsjt-x. This has been broken for a while due to some change in wstj-x which caused a new error to show up. 73 Mike W9MDB --- tentec/omnivii.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tentec/omnivii.c b/tentec/omnivii.c index 3f5682a34..680da1088 100644 --- a/tentec/omnivii.c +++ b/tentec/omnivii.c @@ -983,6 +983,10 @@ int tt588_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo) int retval, cmd_len, resp_len; char cmdbuf[16],respbuf[16]; + if (tx_vfo == RIG_VFO_SUB) { + tx_vfo = RIG_VFO_B; + } + rig_debug(RIG_DEBUG_VERBOSE, "%s: vfo=%s split=%d tx_vfo=%s\n", __FUNCTION__, rig_strvfo(vfo),split,rig_strvfo(tx_vfo)); if(check_vfo(vfo)==FALSE) { rig_debug(RIG_DEBUG_ERR,"%s: unsupported VFO %s\n", __FUNCTION__, rig_strvfo(vfo));