summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:15:53 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:15:53 -0500
commit4e36c209871ed0740f27dc53d15c324b6899f8a0 (patch)
treea2145af2433739177d5200d53c8fd0002349775f
parent20759fbc39cbb99be08378cbdd570d033d7724a9 (diff)
set delay to zero during PW and PRF calibration
for units with non-zero min delay, like the AVR-D3-B-MS1
-rw-r--r--device-functions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c
index a29d1f1..cb97db8 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -2013,6 +2013,7 @@ int Set_Cal_Nom(int channel,int calibration_point_number,int parameter, float *n
Set_Pol(channel,pol_norm);
+ Set_Delay(0,0,0,channel,0.0);
status=Set_frequency(0,0,0,globals.Flash.ChanKey_frequency?channel:0,other_setting);
if (!status) {
@@ -2048,6 +2049,7 @@ int Set_Cal_Nom(int channel,int calibration_point_number,int parameter, float *n
other_setting=1.0; /* reduce pulse width if required */
}
+ Set_Delay(0,0,0,channel,0.0);
status=Set_frequency(0,nominal_wordout,range,channel,1.0/nominal_val);
if (!status) {