summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device-functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c
index 76db714..d14f513 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -3360,7 +3360,7 @@ int Set_VI_Add_Cal(int parameter,int channel,float cal_point)
/* check for excessive deviation between old and new amplitudes at this range/word combination */
- if (fabs(cal_point-old_val) > max_in_range/3.0) {
+ if ((fabs(cal_point-old_val) > max_in_range/3.0) && !globals.Sys.disable_timing_cal_percent_check) {
return CalibrationPercentError;
}
/* check for overly-close data points */