Bluetooth: Settings: Fix broken CONFIG_BT_SETTINGS_USE_PRINTK check

The CONFIG_* prefix was missing, making the #ifdef always false.

Found with a script (CONFIG_BT_SETTINGS_USE_PRINTK was unused).

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-10-18 17:54:59 +02:00 committed by Johan Hedberg
commit 91dc62949e

View file

@ -19,7 +19,7 @@
#include "hci_core.h" #include "hci_core.h"
#include "settings.h" #include "settings.h"
#if defined(BT_SETTINGS_USE_PRINTK) #if defined(CONFIG_BT_SETTINGS_USE_PRINTK)
void bt_settings_encode_key(char *path, size_t path_size, const char *subsys, void bt_settings_encode_key(char *path, size_t path_size, const char *subsys,
bt_addr_le_t *addr, const char *key) bt_addr_le_t *addr, const char *key)
{ {