mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
unix/flash: start with 0xff
This commit is contained in:
parent
12708b4987
commit
d4443a4f7f
@ -66,6 +66,7 @@ static void flash_read(void)
|
||||
|
||||
int flash_init(void)
|
||||
{
|
||||
memset(flash_buffer, 0xFF, sizeof(flash_buffer));
|
||||
flash_read();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user