Fix flash initialization

This commit is contained in:
NIIBE Yutaka
2016-10-15 19:29:23 +09:00
parent bed43d4049
commit 27bd37781a
2 changed files with 5 additions and 1 deletions

View File

@@ -108,7 +108,6 @@ gpg_init (void)
{
const uint8_t *flash_data_start;
flash_init_keys ();
flash_data_start = flash_init ();
if (flash_data_start == NULL)
@@ -117,6 +116,7 @@ gpg_init (void)
file_selection = FILE_NONE;
gpg_data_scan (flash_data_start);
flash_init_keys ();
}
static void