From e1c2a08789f9f18ffd0b930f52bb62a33db5c31a Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Fri, 29 Apr 2022 06:41:38 -0500 Subject: [PATCH] For FT757GX to VFOA on startup --- rigs/yaesu/ft757gx.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rigs/yaesu/ft757gx.c b/rigs/yaesu/ft757gx.c index 2d5e2bb68..3c1cb340b 100644 --- a/rigs/yaesu/ft757gx.c +++ b/rigs/yaesu/ft757gx.c @@ -408,6 +408,7 @@ static int ft757_cleanup(RIG *rig) static int ft757_open(RIG *rig) { + int retval; struct ft757_priv_data *priv = (struct ft757_priv_data *)rig->state.priv; rig_debug(RIG_DEBUG_VERBOSE, "%s called.\n", __func__); @@ -418,6 +419,11 @@ static int ft757_open(RIG *rig) if (rig->caps->rig_model == RIG_MODEL_FT757) { memset(priv->update_data, 0, FT757GX_STATUS_UPDATE_DATA_LENGTH); + retval = rig_set_vfo(rig, RIG_VFO_A); + if (retval != RIG_OK) + { + rig_debug(RIG_DEBUG_ERR, "%s: rig_set_vfo error: %s\n", __func__, rigerror(retval)); + } } else {