1
0
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:
Jan Pochyla 2017-10-18 18:31:37 +02:00
parent 12708b4987
commit d4443a4f7f

View File

@ -66,6 +66,7 @@ static void flash_read(void)
int flash_init(void)
{
memset(flash_buffer, 0xFF, sizeof(flash_buffer));
flash_read();
return 0;
}