fix: Flash-Mutex beim Boot statt im kritischen Abschnitt anlegen

This commit is contained in:
Michael Sauer
2026-09-11 16:14:15 +02:00
parent 21dcdcb13b
commit 7502f4f022
4 changed files with 29 additions and 23 deletions
+4
View File
@@ -20,6 +20,10 @@ void fake_flash_fail_after(long bytes)
s_fail_after = bytes;
}
void nl_flash_init(void)
{
}
int nl_flash_read(uint32_t addr, void *buf, uint32_t len)
{
if (addr + len > FAKE_FLASH_SIZE)