diff options
-rw-r--r-- | flash.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -608,13 +608,13 @@ static void initFlashValues(FlashStruct *mem) for (m=0; m<std_range_size; m++) { if (m==0) { mem->rise_time_dacval[i][j][k][m]=dac_max; - mem->rise_time_pwl[i][j][k][m]=(1e-9+power_of_two); + mem->rise_time_pwl[i][j][k][m]=(power_of_two-5e-9); } else if (m==1) { mem->rise_time_dacval[i][j][k][m]=dac_max/2; - mem->rise_time_pwl[i][j][k][m]=(1e-9+(power_of_two*1.5)); + mem->rise_time_pwl[i][j][k][m]=((power_of_two*1.5)-5e-9); } else if (m==2) { mem->rise_time_dacval[i][j][k][m]=dac_max/4.6; - mem->rise_time_pwl[i][j][k][m]=(1e-9+(power_of_two*3.0)); + mem->rise_time_pwl[i][j][k][m]=((power_of_two*3.0)-5e-9); } else { mem->rise_time_dacval[i][j][k][m]=0; mem->rise_time_pwl[i][j][k][m]=0.0; |