kopia lustrzana https://github.com/Hamlib/Hamlib
Fix segfault in ft600.c
rodzic
807fe54550
commit
2c313c1f69
|
@ -462,7 +462,7 @@ int ft600_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
||||||
return -RIG_EINVAL;
|
return -RIG_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (width == NULL)
|
if (width != NULL)
|
||||||
{
|
{
|
||||||
*width = RIG_PASSBAND_NORMAL;
|
*width = RIG_PASSBAND_NORMAL;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue