diff --git a/embed/unix/flash.c b/embed/unix/flash.c index 3daa2e39b3..2790660d63 100644 --- a/embed/unix/flash.c +++ b/embed/unix/flash.c @@ -66,6 +66,7 @@ static void flash_read(void) int flash_init(void) { + memset(flash_buffer, 0xFF, sizeof(flash_buffer)); flash_read(); return 0; }