summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2018-05-03 11:53:25 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2018-05-03 11:53:25 -0400
commitbaa291089601d4d541c7d7afa256d6372e29b778 (patch)
tree8727314ab2a8374773319cfd08be99aa0d73f293 /device-functions.c
parentf32e5cff38f4c3c359965907f97d7671cd2e8973 (diff)
Removed missed hard-coded range sizesINSTRUMENT_6_4_00b
Diffstat (limited to 'device-functions.c')
-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;