settings: Add name to backend choice in Kconfig

Unless a choice is named, its default value
cannot be changed in another Kconfig file.

Signed-off-by: Pavel Hübner <pavel.hubner@hardwario.com>
This commit is contained in:
Pavel Hübner 2021-10-26 21:28:16 +02:00 committed by Christopher Friedt
parent e19716e5c9
commit 14ecebcde8

View file

@ -33,7 +33,7 @@ config SETTINGS_ENCODE_LEN
depends on SETTINGS
bool
choice
choice SETTINGS_BACKEND
prompt "Storage back-end"
default SETTINGS_NVS if NVS
default SETTINGS_FCB if FCB