summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2013-04-02 10:54:33 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2013-04-02 10:54:33 -0400
commit69a28bacf6a070f24fd960919e70b4f03581b9c9 (patch)
tree4d26424f65c4df982860dda1dcdf4b1f393a329a /flash.c
parentcc22916678005e1c89d2653b7243f4c5bd740de5 (diff)
added attenuator ranges to flash
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.");