diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c index fa070bd..c0472bb 100644 --- a/device-functions.c +++ b/device-functions.c @@ -1796,7 +1796,7 @@ int Set_OS_Calib(int channel,float meas_ampl) float change_ratio; int i,status,eprom_loc; - if (fabs(globals.ChannelState[channel].offset)<globals.Flash.ampl_zero_equiv[channel]) { + if (fabs(globals.ChannelState[channel].offset)<globals.Flash.os_zero_equiv[channel]) { return NeedNonZeroAmpl; } |