From 08ce63863e6e4a36a4c2e15e791f7765d76d32b4 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 5 May 2023 17:09:24 +0200 Subject: [PATCH] Fix CONFIG_BT_NIMBLE_NVS_PERSIST value unused https://github.com/h2zero/NimBLE-Arduino/pull/520 --- .../src/nimble/esp_port/port/include/esp_nimble_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libesp32_div/NimBLE-Arduino/src/nimble/esp_port/port/include/esp_nimble_cfg.h b/lib/libesp32_div/NimBLE-Arduino/src/nimble/esp_port/port/include/esp_nimble_cfg.h index fb00ae115e10..3b1e4e3aeee5 100644 --- a/lib/libesp32_div/NimBLE-Arduino/src/nimble/esp_port/port/include/esp_nimble_cfg.h +++ b/lib/libesp32_div/NimBLE-Arduino/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