mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-22 10:57:21 +00:00
Fix set_level VOXGAIN for FTDX101D
https://github.com/Hamlib/Hamlib/issues/400 https://github.com/Hamlib/Hamlib/issues/400
This commit is contained in:
parent
50b394098e
commit
fc41ca9ca6
@ -3066,8 +3066,8 @@ int newcat_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
||||
return -RIG_ENAVAIL;
|
||||
}
|
||||
|
||||
scale = (newcat_is_rig(rig, RIG_MODEL_FT950)) ? 100 : 255;
|
||||
scale = (newcat_is_rig(rig, RIG_MODEL_FT1200)) ? 100 : scale;
|
||||
scale = (is_ft950 || is_ft101) ? 100 : 255;
|
||||
scale = (is_ft1200) ? 100 : scale;
|
||||
fpf = newcat_scale_float(scale, val.f);
|
||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "VG%03d%c", fpf, cat_term);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user