summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c
index 176ba02..e987e6f 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -2089,6 +2089,8 @@ int Set_Cal_Nom(int channel,int calibration_point_number,int parameter, float *n
other_setting=0.08/nominal_val;
if (other_setting > 500e3) {
other_setting=500e3;
+ } else if (other_setting < 0.4) {
+ other_setting=0.4;
}
Set_Pol(channel,pol_norm);
@@ -2104,6 +2106,8 @@ int Set_Cal_Nom(int channel,int calibration_point_number,int parameter, float *n
other_setting=0.08/fabs(nominal_val);
if (other_setting > 500e3) {
other_setting=500e3;
+ } else if (other_setting < 0.4) {
+ other_setting=0.4;
}
/* set delay constants to zero, temporarily */