summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {