summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/flash.c b/flash.c
index e909d7c..8f0154b 100644
--- a/flash.c
+++ b/flash.c
@@ -769,13 +769,15 @@ static void initFlashValues(FlashStruct *mem)
mem->use_high_ampl_ranges_for_high_pw_ranges[i]=0;
mem->couple_first_N_pw_ranges_to_ampl_ranges[i]=0;
+
+ for (j=0;j<max_attens;j++) {
+ mem->attenuators[i][j] = 0.0;
+ }
}
mem->relay_delay_in_sec=0.5;
mem->extended_relay_delay_in_sec=0.5;
- mem->wait_states_after_sock_init=10000;
- /*0123456789012345678901234567890123456789*/
strcpy(mem->aux_error_message,"PRF too high! Output disabled.");