summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flash.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/flash.c b/flash.c
index 4f76d61..dfa8474 100644
--- a/flash.c
+++ b/flash.c
@@ -599,6 +599,13 @@ static void initFlashValues(FlashStruct *mem)
mem->delay_dacval[i][j][k][m]=temp_int;
mem->period_dacval[i][j][k][m]=temp_int;
mem->burst_dacval[i][j][k][m]=temp_int;
+
+ // special overrides
+ if ((m==4) && (j==0)) {
+ // just 4 points in fastest PRF range, 5th point is flaky
+ mem->period_dacval[i][j][k][m] = 0;
+ mem->period_pwl[i][j][k][m] = 0.0;
+ }
}
}
power_of_ten*=10.0;