From f0d2e7a37142a6d4c7f7e45a6e4427e53123d614 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 31 Jul 2017 22:43:28 +0200 Subject: [PATCH] storage: bump version --- firmware/storage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/storage.c b/firmware/storage.c index 6eba0806ef..8bb06b2593 100644 --- a/firmware/storage.c +++ b/firmware/storage.c @@ -102,7 +102,7 @@ static bool sessionPinCached; static bool sessionPassphraseCached; static char sessionPassphrase[51]; -#define STORAGE_VERSION 6 +#define STORAGE_VERSION 7 void storage_show_error(void) { @@ -132,6 +132,7 @@ bool storage_from_flash(void) // version 4: since 1.3.2 // version 5: since 1.3.3 // version 6: since 1.3.6 + // version 7: since 1.5.1 if (version > STORAGE_VERSION) { // downgrade -> clear storage return false;