From 8a93db1e9061255b0216b1369a9768827610d8dd Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:17:27 -0500 Subject: do not check delay shrink in cal mode --- device-functions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/device-functions.c b/device-functions.c index 69d94fa..2f4f2cf 100644 --- a/device-functions.c +++ b/device-functions.c @@ -756,7 +756,8 @@ int Set_Delay(int check_possible_only,int word_override,int range_override,int c /* won't work for all values if apparent fixed delay is less than minimum variable delay */ min_one_shot_delay = globals.Flash.delay_pwl_time[channel][0][0][0]; - if (globals.Flash.delay_shrink[channel] < min_one_shot_delay) { + if ( (globals.Flash.delay_shrink[channel] > 0.0) && + (globals.Flash.delay_shrink[channel] < min_one_shot_delay)) { return DelayRangeError; } -- cgit