summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:33:55 +0900
committerroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:33:55 +0900
commitf859be48b1efe57652a143704cb405a9f0ca1ca2 (patch)
tree7170d7269735e595b5bc59973e4e99553ac9be8f
parentbb4892f55b55468bef02fe958057a118d056ae4a (diff)
set minimum allowed PRF during PW/delay calibration
-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 */