use correct value

This commit is contained in:
Christian Bayer 2024-08-09 14:34:36 +02:00
parent e63014a23f
commit 24b47951b2
No known key found for this signature in database
GPG Key ID: 090D0F8B431A7C88

View File

@ -875,7 +875,7 @@ static int ft857_get_pometer_level(RIG *rig, value_t *val, const cal_table_float
{
rig_debug(RIG_DEBUG_TRACE, "%s: bars=%d\n", __func__, p->tx_status & 0x0F);
// does rig have 10 bars or 15?
val->f = rig_raw2val_float(*val, cal)/divider;
val->f = rig_raw2val_float(p->tx_status & 0x0F, cal)/divider;
}
else
{