summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c2
1 files changed, 2 insertions, 0 deletions
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 */