Fix smartsdr build

pull/1557/head
Mike Black W9MDB 2024-05-20 08:17:26 -05:00
rodzic 1e806785bc
commit 2b09a073c1
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -37,6 +37,8 @@ static int smartsdr_open(RIG *rig);
static int smartsdr_close(RIG *rig);
static int smartsdr_cleanup(RIG *rig);
static int smartsdr_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt);
static int smartsdr_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt);
static int smartsdr_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
//static int smartsdr_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val);
struct smartsdr_priv_data
@ -300,7 +302,7 @@ int smartsdr_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
RETURNFUNC(RIG_OK);
}
int rig_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
int smartsdr_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
{
struct smartsdr_priv_data *priv = (struct smartsdr_priv_data *)STATE(rig)->priv;
hamlib_port_t *rp = RIGPORT(rig);