diff options
author | root <root@avtech.domain.avtechpulse.com> | 2000-01-01 00:33:55 +0900 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 2000-01-01 00:33:55 +0900 |
commit | f859be48b1efe57652a143704cb405a9f0ca1ca2 (patch) | |
tree | 7170d7269735e595b5bc59973e4e99553ac9be8f /device-functions.c | |
parent | bb4892f55b55468bef02fe958057a118d056ae4a (diff) |
set minimum allowed PRF during PW/delay calibration
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 4 |
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 */ |