From e12558f1ed16d3bdb96f7f0fbd05b48eb7558a0e Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 00:23:17 +0900 Subject: replace pol_norm and pol_complement with NO/YES for clarity --- error_utils.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'error_utils.c') diff --git a/error_utils.c b/error_utils.c index f29341c..7d4dc25 100644 --- a/error_utils.c +++ b/error_utils.c @@ -822,7 +822,7 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) report_error=freq_lower_limit; } - if ((ChannelStateToTest[i].inverted!=pol_norm) && (globals.Flash.min_pw[i]>0.0)) { + if ((ChannelStateToTest[i].inverted!=NO) && (globals.Flash.min_pw[i]>0.0)) { temp=(1/ChannelStateToTest[i].pw)*( 1.0- ampl_fixed_max_duty/duty_scale ); if (temp>globals.Constraints.err_min_freq[i]) { globals.Constraints.err_min_freq[i]=temp; @@ -886,7 +886,7 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) } } - if (ChannelStateToTest[i].inverted==pol_norm) { + if (ChannelStateToTest[i].inverted==NO) { temp=(1/ChannelStateToTest[i].pw)*(ampl_fixed_max_duty/duty_scale); if (temp=0.0) { if (ChannelStateToTest[i].trigger_source==source_internal) { - if (ChannelStateToTest[i].inverted!=pol_norm) { + if (ChannelStateToTest[i].inverted!=NO) { temp=(1/ChannelStateToTest[i].frequency)*( 1.0 - ampl_fixed_max_duty/duty_scale ); if (temp>globals.Constraints.err_min_pw[i]) { globals.Constraints.err_min_pw[i]=temp; @@ -1012,7 +1012,7 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) } } - if (ChannelStateToTest[i].inverted==pol_norm) { + if (ChannelStateToTest[i].inverted==NO) { temp=(1/ChannelStateToTest[i].frequency)*(ampl_fixed_max_duty/duty_scale); if (temp