summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/device-functions.c b/device-functions.c
index 2158a1c..df5cf40 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -3213,7 +3213,7 @@ int Set_VI_Add_Cal(int parameter,int channel,float cal_point)
int temp_x_short1[std_range_size+1];
int temp_x_short2[std_range_size+1];
- int index,actual_pol;
+ int index;
float *pointer_y_float1;
short *pointer_x_short1;
short *pointer_x_short2;
@@ -3236,8 +3236,6 @@ int Set_VI_Add_Cal(int parameter,int channel,float cal_point)
polarity = pwl_struct[parameter][channel].use_neg_data;
entry = pwl_struct[parameter][channel].entry;
word_out = pwl_struct[parameter][channel].word_out;
- actual_pol = pwl_struct[parameter][channel].actual_pol;
-
switch (parameter) {
case (pwl_ampl_values):