kopia lustrzana https://github.com/Hamlib/Hamlib
Fix conf.c to detect const structure
rodzic
15729dfafd
commit
5d51e29d44
|
@ -514,7 +514,7 @@ static int frontend_set_conf(RIG *rig, token_t token, const char *val)
|
||||||
if (!strcmp(val, "RIG"))
|
if (!strcmp(val, "RIG"))
|
||||||
{
|
{
|
||||||
rs->pttport.type.ptt = RIG_PTT_RIG;
|
rs->pttport.type.ptt = RIG_PTT_RIG;
|
||||||
rig->caps->ptt_type = RIG_PTT_RIG;
|
caps->ptt_type = RIG_PTT_RIG;
|
||||||
}
|
}
|
||||||
else if (!strcmp(val, "RIGMICDATA"))
|
else if (!strcmp(val, "RIGMICDATA"))
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue