From d681fb8949ba0ce71aa3a45de0f1d3adee9293b6 Mon Sep 17 00:00:00 2001 From: Sumeet Singh Date: Mon, 9 Dec 2024 16:00:16 +0530 Subject: [PATCH] fix(nimble): update csfc max size to max_bonds to fix invalid nvs overflow event --- components/bt/host/nimble/port/include/esp_nimble_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/host/nimble/port/include/esp_nimble_cfg.h b/components/bt/host/nimble/port/include/esp_nimble_cfg.h index 98fe9475a0..6db93500be 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -996,7 +996,7 @@ #endif #ifndef MYNEWT_VAL_BLE_STORE_MAX_CSFCS -#define MYNEWT_VAL_BLE_STORE_MAX_CSFCS (CONFIG_BT_NIMBLE_MAX_CONNECTIONS) +#define MYNEWT_VAL_BLE_STORE_MAX_CSFCS CONFIG_BT_NIMBLE_MAX_BONDS #endif #ifdef CONFIG_BT_NIMBLE_MAX_EADS