summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 30648ed..fff7711 100644
--- a/monitor.c
+++ b/monitor.c
@@ -195,7 +195,7 @@ int I2C_Check_Monitors(void)
/* determine current ampl_range */
Set_VI_Control(pwl_ampl_values,channel,globals.ChannelState[channel].amplitude,&point_found,
- &ampl_range,&atten_range,&UseNegData,&entry,&word_out,&actual_pol);
+ &ampl_range,&atten_range,&UseNegData,&entry,&word_out,&actual_pol,NULL);
/* 5.0V is the full-scale voltage of the 12bit ADC */
globals.ChannelState[channel].Curr_Mon_value=((((float) monitor_word)/4095.0) * 5.0)