From a7fcf9b036f648e30fcd71e88187e98986794458 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 1 Feb 2019 21:02:43 +0100 Subject: [PATCH] Fix key constant in config_setLanguage(). Update trezor-storage. --- firmware/config.c | 2 +- vendor/trezor-storage | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/config.c b/firmware/config.c index 4af3e381a..4259938a4 100644 --- a/firmware/config.c +++ b/firmware/config.c @@ -481,7 +481,7 @@ void config_setLanguage(const char *lang) if (strcmp(lang, "english") != 0) { return; } - storage_set(KEY_LABEL, lang, strnlen(lang, MAX_LANGUAGE_LEN)); + storage_set(KEY_LANGUAGE, lang, strnlen(lang, MAX_LANGUAGE_LEN)); } void config_setPassphraseProtection(bool passphrase_protection) diff --git a/vendor/trezor-storage b/vendor/trezor-storage index 2888c1109..8fc03a5a9 160000 --- a/vendor/trezor-storage +++ b/vendor/trezor-storage @@ -1 +1 @@ -Subproject commit 2888c1109563f32febb2eda9aed1130c07c6672b +Subproject commit 8fc03a5a95d3b75b29909a9f030fd74b294bf63b