Reactivate flash protection after maca init
This commit is contained in:
parent
2ef20ef40d
commit
632a341dcc
|
@ -1173,11 +1173,11 @@ uint32_t init_from_flash(uint32_t addr) {
|
|||
err = nvm_read(gNvmInternalInterface_c, type, (uint8_t *)buf, addr+i, 32);
|
||||
i += 4*exec_init_entry(buf, ram_values);
|
||||
}
|
||||
return i;
|
||||
} else {
|
||||
return 0;
|
||||
i = 0;
|
||||
}
|
||||
|
||||
nvm_setsvar(1);
|
||||
return i;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue