From a116cbe5025e8cc0f499c8616f5e47e1c729905c Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Wed, 30 Nov 2022 10:45:17 -0600 Subject: [PATCH] Astyle newcat.c --- rigs/yaesu/newcat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 6d5ea1ba5..ff08e6049 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -5869,16 +5869,16 @@ int newcat_set_func(RIG *rig, vfo_t vfo, setting_t func, int status) } break; - + case RIG_FUNC_NB2: if (!newcat_valid_command(rig, "NB")) { RETURNFUNC(-RIG_ENAVAIL); } - + SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "NB0%d%c", status ? 2 : 0, cat_term); - + if (rig->caps->targetable_vfo & RIG_TARGETABLE_MODE) { priv->cmd_str[2] = main_sub_vfo; @@ -6375,11 +6375,11 @@ int newcat_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) case RIG_FUNC_VOX: *status = (retfunc[0] == '0') ? 0 : 1; break; - + case RIG_FUNC_NB: *status = (retfunc[0] == '1') ? 1 : 0; - break; - + break; + case RIG_FUNC_NB2: *status = (retfunc[0] == '2') ? 1 : 0; break;