diff options
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 7 |
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; + } } } |