Another attempt to get FT2000 RFPOWER_METER correct for both 0-1 and watts readings

https://github.com/Hamlib/Hamlib/issues/488
pull/494/head
Michael Black W9MDB 2021-01-04 14:43:03 -06:00
rodzic f34ccfa3b8
commit d6d79de732
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -4423,7 +4423,7 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
&rig->caps->rfpower_meter_cal) / (level == RIG_LEVEL_RFPOWER_METER_WATTS ? 1.0 :
100.0);
if (level == RIG_LEVEL_RFPOWER_METER && priv->rig_id == NC_RIGID_FT2000)
if (priv->rig_id == NC_RIGID_FT2000)
{
// we reuse the FT2000D table for the FT2000 so need to divide by 2
// hopefully this works well otherwise we need a separate table