summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:30:33 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:30:33 +0900
commitbdd26361af532467dd5925252ac16e7a5e56ea18 (patch)
treed8d1ab046b673654354b61fc032f5dc7a861bf2c /error_utils.c
parentcbf145bf9e2e45df429abbac691be33f60e57c39 (diff)
let rise time go to the lowest hardware-possible value, not just the specified minimum - for AVRQINSTRUMENT_6_4_19c
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c4
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);
}