From 350b1d7ea0a23b296c5e24f4e43923c6f97d6ed9 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Thu, 28 Nov 2019 09:59:57 -0600 Subject: [PATCH] Add vfo priv fields to icom.h in preparation for other changes --- icom/icom.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/icom/icom.h b/icom/icom.h index d3aaf79cb..47f5b21f8 100644 --- a/icom/icom.h +++ b/icom/icom.h @@ -139,6 +139,11 @@ struct icom_priv_data int split_on; /* record split state */ pltstate_t *pltstate; /* only on optoscan */ int serial_USB_echo_off; /* USB is not set to echo */ + /* we track vfos internallhy for use with different functions like split */ + /* this allows queries using CURR_VFO and Main/Sub to behave */ + vfo_t curr_vfo; + vfo_t rx_vfo; + vfo_t tx_vfo; }; extern const struct ts_sc_list r8500_ts_sc_list[];