summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:00:42 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:00:42 -0500
commitfaebcf42c6e7a6afe2a9df647c9b7e4c80d40141 (patch)
treef73f53bb4f130ed3da33d658f08ee7a16d4701b0 /flash.c
parentecd11b968d4f659a1b03e57a7b416885e44e853a (diff)
use narrower fixed PW on high PRF units like AVM-6-BINSTRUMENT_5_0_4
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/flash.c b/flash.c
index 6379d3b..b7bf76b 100644
--- a/flash.c
+++ b/flash.c
@@ -932,6 +932,12 @@ void fixFlash(FlashStruct *mem)
++fix_initial_constants;
}
}
+
+ // for AVM-6-B in particular
+ if ((mem->max_freq[i] >= 5e6) && (mem->fix_pw_dac_val[i] < dac_max/4)) {
+ mem->fix_pw_dac_val[i] = dac_max/4;
+ ++fix_initial_constants;
+ }
}
if (fix_initial_constants) {