summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2017-05-23 14:52:56 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2017-05-23 14:52:56 -0400
commit9de4cdd190269eb4aec9d8fcaf3806eaab82c04b (patch)
treefbec4cf53d0bcab62a2c275ca46eb1989432ac2c /device-functions.c
parentf0e9db69bd89614dc17e5b581e84093e888795ce (diff)
fix min/max cal point check for units with non-zero rst amplitude (AVRQ-5-B-AHV)
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c
index 51134ff..0551cbf 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -3421,7 +3421,7 @@ int Check_MinMax_Cal(int channel,int parameter)
case (pwl_ampl_values):
status=Set_Amplitude(1,0,0,0,0,0,channel,globals.Flash.min_ampl[channel],0)
|| Set_Amplitude(1,0,0,0,0,0,channel,globals.Flash.max_ampl[channel],0)
- || Set_Amplitude(1,0,0,0,0,0,channel,0.0,0);
+ || Set_Amplitude(1,0,0,0,0,0,channel,rst_ampl_value(channel),0);
break;
case (pwl_os_values):