Fix compilation problem with funcube.c

https://github.com/Hamlib/Hamlib/issues/829
pull/846/head
Mike Black W9MDB 2021-10-20 23:00:13 -05:00
rodzic 9186702776
commit 3ae48c507d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -944,7 +944,7 @@ int funcubepro_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
int funcube_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
{
if (rig->state.rig_model == RIG_MODEL_FUNCUBEDONGLE)
if (rig->caps->rig_model == RIG_MODEL_FUNCUBEDONGLE)
{
*mode = RIG_MODE_USB;
}