From d37c81e5cb5198070845074a2ebd0ad7ae95df79 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:07:02 -0500 Subject: when nulling delay, use 20 ns as minimum allowed pulse width --- device-functions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'device-functions.c') diff --git a/device-functions.c b/device-functions.c index f72b275..14d2d0a 100644 --- a/device-functions.c +++ b/device-functions.c @@ -1860,6 +1860,8 @@ int Set_Dly_Shr_Nom(int channel,int calibration_point_number) } Set_Amplitude(0,0,0,0,0,0,channel,ampl,0); + // set to min PW, unless it is less than 20 ns + Set_Pw(0,0,0,channel,MAX(globals.Flash.min_pw[channel],20e-9),0); /* Set delay constants to zero, temporarily, for nulling purposes. */ /* Restore the constants after the delay is set, so that the unit */ -- cgit