kopia lustrzana https://github.com/Hamlib/Hamlib
Get scaling correct (i.e.none) for FLRig get_SWR
https://github.com/Hamlib/Hamlib/issues/1423pull/1426/head
rodzic
1374ee554c
commit
6351d5deac
|
@ -2210,7 +2210,10 @@ static int flrig_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
|||
{
|
||||
case RIG_LEVEL_SWR:
|
||||
{
|
||||
val->f = interpolateSWR(atoi(value));
|
||||
if (priv->get_SWR)
|
||||
val->f = atof(value);
|
||||
else
|
||||
val->f = interpolateSWR(atoi(value));
|
||||
break;
|
||||
}
|
||||
case RIG_LEVEL_STRENGTH:
|
||||
|
|
Ładowanie…
Reference in New Issue