mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-03-15 19:31:43 +00:00
[update][flash] ignore flash mid value
This commit is contained in:
parent
47d0f9cd38
commit
4e77bb637a
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ int ATTR_TCM_SECTION bflb_flash_init(void)
|
|||
L1C_Cache_Flush();
|
||||
#endif
|
||||
bflb_irq_restore(flag);
|
||||
if (g_flash_cfg.mid != 0xff) {
|
||||
if (g_flash_cfg.mid != 0xff && g_flash_cfg.mid != 0x00) {
|
||||
return 0;
|
||||
}
|
||||
clk_delay = g_flash_cfg.clk_delay;
|
||||
|
|
Loading…
Add table
Reference in a new issue