diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:17:27 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:17:27 -0500 |
commit | 8a93db1e9061255b0216b1369a9768827610d8dd (patch) | |
tree | 0c0d32a905ef66021b2595d995f2888e8ff68ab7 /device-functions.c | |
parent | 1163e2bba1e275580d7baa62b3090ea344f1f284 (diff) |
do not check delay shrink in cal mode
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |