From 7cc5141358bb059e17dc304e9db36ac7f5897672 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:09:41 -0500 Subject: Permit negative delays on CH1 of dual-delay units, for -KMPD --- error_utils.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/error_utils.c b/error_utils.c index eb5d337..5515181 100644 --- a/error_utils.c +++ b/error_utils.c @@ -961,9 +961,11 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) /* otherwise, assume delay has equal +/- range */ globals.Constraints.err_min_delay[i]=-globals.Flash.max_delay[i]; - /* for dual-delay units, positive delay only */ + /* for dual-delay units, positive delay only for second channel */ if ((globals.Flash.ChanKey_delay?globals.Flash.channels:1)>1) { - globals.Constraints.err_min_delay[i]=0.0; + if (i>0) { + globals.Constraints.err_min_delay[i]=0.0; + } } } -- cgit