From f859be48b1efe57652a143704cb405a9f0ca1ca2 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 1 Jan 2000 00:33:55 +0900 Subject: set minimum allowed PRF during PW/delay calibration --- device-functions.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- cgit