summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2018-05-03 09:59:22 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2018-05-03 09:59:22 -0400
commit201bfbfb5a6242b3cfc534c6b7015eb0be623c5e (patch)
tree4c624ef4d921d13e4a62235a28b44ef52bb567a1 /flash.c
parent2c0cdd908ae12df17c2148ca5b9f6c421e0c86f1 (diff)
use new variables and range sizes (but not initialized correctly yet)
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/flash.c b/flash.c
index c32d8d3..634e980 100644
--- a/flash.c
+++ b/flash.c
@@ -525,17 +525,6 @@ static void initFlashValues(FlashStruct *mem)
mem->enable_avrq_extra_ampls=0;
- 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;
- mem->vcc2_pwl[0][0][0][i]=0.0;
- }
- mem->vcc1_dacval[0][0][0][1]=dac_max;
- mem->vcc1_pwl[0][0][0][1]=10.0;
- mem->vcc2_dacval[0][0][0][1]=dac_max;
- mem->vcc2_pwl[0][0][0][1]=25;
-
for (i=0; i<max_channels; i++) {
power_of_ten=1.0;
power_of_two=24.0e-9;
@@ -675,8 +664,6 @@ static void initFlashValues(FlashStruct *mem)
mem->rcl_route_secondary[i][j]=1;
mem->rcl_slew[i][j]=100e6;
mem->rcl_load[i][j]=50.0;
- mem->rcl_vcc1[i][j]=0.0;
- mem->rcl_vcc2[i][j]=0.0;
mem->rcl_vlogic[i][j]=0.0;
}
@@ -868,10 +855,6 @@ static void initFlashValues(FlashStruct *mem)
mem->max_pw_pol[i][0]=0.0;
mem->max_pw_pol[i][1]=0.0;
- mem->vcc1_max[i]=5.1;
- mem->vcc2_max[i]=24.4;
- mem->vcc2_min[i]=3.0;
-
mem->use_high_ampl_ranges_for_high_pw_ranges[i]=0;
mem->couple_first_N_pw_ranges_to_ampl_ranges[i]=0;