diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2018-05-03 09:20:22 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2018-05-03 09:20:22 -0400 |
commit | 0aa3b9ec80108e690c2ca5157cb6d83087a40788 (patch) | |
tree | 8e757e5e05ba49c502e283758f9b28572080d142 /flash.c | |
parent | 2bddfb1c8457b4b6dbaeeb881bde35239ba0e165 (diff) |
original number of points in each range was 10
Diffstat (limited to 'flash.c')
-rw-r--r-- | flash.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -525,7 +525,7 @@ static void initFlashValues(FlashStruct *mem) mem->enable_avrq_extra_ampls=0; - for (i=0; i<points_in_range; i++) { + for (i=0; i<old_range_size_ten; i++) { mem->vcc1_dacval[0][0][0][i]=0; mem->vcc1_pwl[0][0][0][i]=0.0; mem->vcc2_dacval[0][0][0][i]=0; @@ -541,7 +541,7 @@ static void initFlashValues(FlashStruct *mem) power_of_two=24.0e-9; for (j=0; j<timing_ranges; j++) { for (k=0; k<timing_polarities; k++) { - for (m=0; m<points_in_range; m++) { + for (m=0; m<old_range_size_ten; m++) { mem->slew_pwl[i][j][k][m]=0.0; mem->slew_dacval[i][j][k][m]=0; @@ -616,7 +616,7 @@ static void initFlashValues(FlashStruct *mem) power_of_two=20.0e-9; for (j=0; j<ampl_ranges; j++) { for (k=0; k<ampl_polarities; k++) { - for (m=0; m<points_in_range; m++) { + for (m=0; m<old_range_size_ten; m++) { if (m==0) { mem->rise_time_dacval[i][j][k][m]=dac_max; mem->rise_time_pwl[i][j][k][m]=(1e-9+power_of_two); |