kopia lustrzana https://github.com/Hamlib/Hamlib
Fix ic703 and ic705 RIG_LEVEL_RFPOWER_METER_WATTS to scale to 10W instead of 100W
rodzic
f81c9158a8
commit
5a9daf5f0e
|
@ -3111,8 +3111,15 @@ int icom_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
|||
}
|
||||
else
|
||||
{
|
||||
float scale = 100;
|
||||
if (rig->caps->rig_model == RIG_MODEL_IC705
|
||||
|| rig->caps->rig_model == RIG_MODEL_IC703)
|
||||
{
|
||||
scale = 10;
|
||||
}
|
||||
val->f =
|
||||
rig_raw2val_float(icom_val, &rig->caps->rfpower_meter_cal) * 100;
|
||||
rig_raw2val_float(icom_val, &rig->caps->rfpower_meter_cal) * scale;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20210113"
|
||||
#define BACKEND_VER "20210120"
|
||||
|
||||
/*
|
||||
* defines used by comp_cal_str in rig.c
|
||||
|
|
Ładowanie…
Reference in New Issue