mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-07-23 20:29:06 +00:00
Reactivate flash protection after maca init
This commit is contained in:
parent
4cf4a48592
commit
56914963ef
@ -1235,11 +1235,11 @@ uint32_t init_from_flash(uint32_t addr) {
|
|||||||
err = nvm_read(gNvmInternalInterface_c, type, (uint8_t *)buf, addr+i, 32);
|
err = nvm_read(gNvmInternalInterface_c, type, (uint8_t *)buf, addr+i, 32);
|
||||||
i += 4*exec_init_entry(buf, ram_values);
|
i += 4*exec_init_entry(buf, ram_values);
|
||||||
}
|
}
|
||||||
return i;
|
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
|
nvm_setsvar(1);
|
||||||
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user