From 948e9d5f9944ff37ca1a7db4ea98f187b6f50183 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Fri, 23 Oct 2020 11:36:42 -0500 Subject: [PATCH] astyle files --- rigs/dummy/dummy.c | 4 +++- rigs/yaesu/newcat.c | 1 + tests/rigctld.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rigs/dummy/dummy.c b/rigs/dummy/dummy.c index f9508bf28..1eb02497b 100644 --- a/rigs/dummy/dummy.c +++ b/rigs/dummy/dummy.c @@ -450,9 +450,11 @@ static int dummy_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) if ((vfo == RIG_VFO_SUB && rig->state.uplink == 1) || (vfo == RIG_VFO_MAIN && rig->state.uplink == 2)) { - rig_debug(RIG_DEBUG_TRACE, "%s: uplink=%d, ignoring get_freq\n", __func__, rig->state.uplink); + rig_debug(RIG_DEBUG_TRACE, "%s: uplink=%d, ignoring get_freq\n", __func__, + rig->state.uplink); return RIG_OK; } + usleep(CMDSLEEP); rig_debug(RIG_DEBUG_VERBOSE, "%s called: %s\n", __func__, rig_strvfo(vfo)); diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 8ac7d544b..fa5073e59 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -4134,6 +4134,7 @@ int newcat_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) priv->ret_data[ret_data_len - 1] = '\0'; rig_debug(RIG_DEBUG_TRACE, "%s: retfunc='%s'\n", __func__, retfunc); + switch (func) { case RIG_FUNC_MN: diff --git a/tests/rigctld.c b/tests/rigctld.c index 5a49eaf7b..4739e41bc 100644 --- a/tests/rigctld.c +++ b/tests/rigctld.c @@ -588,7 +588,7 @@ int main(int argc, char *argv[]) my_rig->state.twiddle_timeout = twiddle; my_rig->state.uplink = uplink; rig_debug(RIG_DEBUG_TRACE, "%s: twiddle=%d, uplink=%d\n", __func__, - my_rig->state.twiddle_timeout, my_rig->state.uplink); + my_rig->state.twiddle_timeout, my_rig->state.uplink); /* * ex: RIG_PTT_PARALLEL and /dev/parport0