summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 02:21:01 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 02:21:01 +0900
commit551010eb696952159e2c827893abfb3642d8dc31 (patch)
tree7cd5ce92f0ea27578b634f015461851e1338b3a2
parent3ee2f285132c7281f93c4a539a7a20a1de56fc22 (diff)
Revert portion of last for burst control. Deal with later. Report error only if count>1
-rw-r--r--error_utils.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/error_utils.c b/error_utils.c
index 08b8a11..026e6dc 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -1424,7 +1424,12 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels])
/* --- check maximum burst gap settings --- */
- check_starting_pos_max_value (globals.Flash.max_burst_gap[i], &globals.Constraints.err_max_burst_time[i], ChannelStateToTest[i].burst_time, max_burst_gap_error, &report_error);
+ // FIXME - update with new check_ routines, but only report error if count>1
+ globals.Constraints.err_max_burst_time[i]=globals.Flash.max_burst_gap[i];
+ if ( (ChannelStateToTest[i].burst_count>1)
+ && (ChannelStateToTest[i].burst_time>(1.001*globals.Constraints.err_max_burst_time[i]))) {
+ report_error=max_burst_gap_error;
+ }
}
}