diff options
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/error_utils.c b/error_utils.c index ec5e351..297f6fa 100644 --- a/error_utils.c +++ b/error_utils.c @@ -1344,9 +1344,11 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) ) { report_error=rise_time_confined_values; } + check_initial_min_value (globals.Flash.min_rise_time[i], &globals.Constraints.err_min_rise_time[i], ChannelStateToTest[i].rise_time, min_rise_time_error, &report_error); + } else { + check_initial_min_value (min_possible_hw_rise_time(i, ChannelStateToTest[i].amplitude), &globals.Constraints.err_min_rise_time[i], ChannelStateToTest[i].rise_time, min_rise_time_error, &report_error); } - check_initial_min_value (globals.Flash.min_rise_time[i], &globals.Constraints.err_min_rise_time[i], ChannelStateToTest[i].rise_time, min_rise_time_error, &report_error); check_initial_max_value (globals.Flash.max_rise_time[i], &globals.Constraints.err_max_rise_time[i], ChannelStateToTest[i].rise_time, max_rise_time_error, &report_error); } |