From be3865693ae87baee1c95e3622466d2c64eb402f Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Thu, 28 Jul 2022 10:34:01 -0500 Subject: [PATCH] astyle tmd710.c --- rigs/kenwood/tmd710.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rigs/kenwood/tmd710.c b/rigs/kenwood/tmd710.c index b189ce0e1..b1a6786fc 100644 --- a/rigs/kenwood/tmd710.c +++ b/rigs/kenwood/tmd710.c @@ -663,7 +663,8 @@ static int tmd710_open(RIG *rig) tmd710_get_vfo(rig, &vfo); tmd710_get_split_vfo(rig, RIG_VFO_CURR, &split, &vfo); - rig_debug(RIG_DEBUG_TRACE, "rig->state.tx_vfo: %s\n", rig_strvfo(rig->state.tx_vfo)); + rig_debug(RIG_DEBUG_TRACE, "rig->state.tx_vfo: %s\n", + rig_strvfo(rig->state.tx_vfo)); return 0; } @@ -2010,6 +2011,7 @@ int tmd710_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo) rig_strvfo(vfo), rig_strvfo(txvfo)); retval = tmd710_get_vfo_num(rig, &ctrl_vfo_index, NULL); + if (retval != RIG_OK) { return retval; @@ -2061,7 +2063,8 @@ int tmd710_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *txvfo) rig->state.tx_vfo = *txvfo; // Rig is always in "split mode" and VFOs are targetable, so simply check current and TX VFOs - *split = rig->state.current_vfo == rig->state.tx_vfo ? RIG_SPLIT_OFF : RIG_SPLIT_ON; + *split = rig->state.current_vfo == rig->state.tx_vfo ? RIG_SPLIT_OFF : + RIG_SPLIT_ON; return RIG_OK; }