From 13a5d26b3aa73e9861cd9a417b8fdf380ea14b0e Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 26 Mar 2023 10:37:42 -0600 Subject: [PATCH] Fix CONFIG_BT_NIMBLE_NVS_PERSIST value not being used. --- src/nimble/esp_port/port/include/esp_nimble_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimble/esp_port/port/include/esp_nimble_cfg.h b/src/nimble/esp_port/port/include/esp_nimble_cfg.h index fb00ae11..3b1e4e3a 100644 --- a/src/nimble/esp_port/port/include/esp_nimble_cfg.h +++ b/src/nimble/esp_port/port/include/esp_nimble_cfg.h @@ -686,7 +686,7 @@ #ifndef MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST #ifdef CONFIG_BT_NIMBLE_NVS_PERSIST -#define MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST (1) +#define MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST (CONFIG_BT_NIMBLE_NVS_PERSIST) #else #define MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST (0) #endif