Try another method of setting Icom default vfo

pull/649/head
Michael Black W9MDB 2021-03-30 15:40:17 -05:00
rodzic b16eb6ac42
commit b696391a66
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -45,6 +45,7 @@
#include "frame.h"
static int set_vfo_curr(RIG *rig, vfo_t vfo, vfo_t curr_vfo);
static int icom_set_default_vfo(RIG *rig);
const cal_table_float_t icom_default_swr_cal =
{
@ -804,7 +805,7 @@ icom_rig_open(RIG *rig)
}
}
rig_set_vfo(rig,RIG_VFO_MAIN_A); // set rig to default vfo
icom_set_default_vfo(rig);
priv->poweron = 1;
if (rig->caps->has_get_func & RIG_FUNC_SATMODE)
@ -877,7 +878,7 @@ icom_rig_close(RIG *rig)
* So they will get defaults of Main/VFOA as the selected VFO
* and we force that selection
*/
int icom_set_default_vfo(RIG *rig)
static int icom_set_default_vfo(RIG *rig)
{
int retval;