From baa291089601d4d541c7d7afa256d6372e29b778 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 3 May 2018 11:53:25 -0400 Subject: Removed missed hard-coded range sizes --- device-functions.c | 6 +++--- 1 file 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; -- cgit