summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device-functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device-functions.c b/device-functions.c
index 7671e1d..ceab0c7 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -2486,9 +2486,9 @@ int Set_VI_Cal_Pnt(int parameter,int channel,int calibration_point_number,float
int Set_VI_Del_Cal(int parameter,int channel,int calibration_point_number)
{
int polarity,range,entry,status,i,num_in_range,num_of_ranges;
- float temp_float1[10];
- short temp_short1[10];
- short temp_short2[10];
+ float temp_float1[std_range_size];
+ short temp_short1[std_range_size];
+ short temp_short2[std_range_size];
int index;
int max_points,max_polarity,max_ranges;
short *pointer_short1;