summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:27:29 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:27:29 +0900
commitb632b38172ebd582a5989cc820ff7ed3c99515b6 (patch)
tree31b6de78c5cd8906f9cccf3b76fec6ac56f37a87 /flash.c
parent09b55d5ca98747a3c33b6fca10541104626bc2c3 (diff)
added variables for ampl-dependent distortion output
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/flash.c b/flash.c
index d8c3529..53198ea 100644
--- a/flash.c
+++ b/flash.c
@@ -639,6 +639,7 @@ static void initFlashValues(FlashStruct *mem)
for (m=0; m<2; m++) {
mem->ampl_dacval[i][k][m][j]=0;
mem->ampl_pwl[i][k][m][j]=0.0;
+ mem->distort_pwl[i][k][m][j]=0.0;
}
mem->ampl_dacval[i][0][0][1]=dac_max;
@@ -877,6 +878,9 @@ static void initFlashValues(FlashStruct *mem)
mem->ext2_enabled[i] = 0;
mem->toggle_trig_at_boot[i] = 1;
mem->sequential_attenuators[i] = 0;
+
+ mem->distort_dac[i] = 6;
+ mem->distort_enabled[i] = 0;
}
mem->relay_delay_in_sec=0.5;