diff options
-rw-r--r-- | flash.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -978,7 +978,9 @@ void fixFlash(FlashStruct *mem) } // for AVM-6-B in particular - if ((mem->max_freq[i] >= 5e6) && (mem->fix_pw_dac_val[i] < dac_max/4)) { + if ( (globals.Flash.fully_programmed==All_Programmed) && + (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; } |