Fix CONFIG_BT_NIMBLE_NVS_PERSIST value unused

https://github.com/h2zero/NimBLE-Arduino/pull/520
This commit is contained in:
Jason2866 2023-05-05 17:09:24 +02:00 committed by GitHub
parent d7b6d72e19
commit 08ce63863e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@
#ifndef MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST #ifndef MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST
#ifdef CONFIG_BT_NIMBLE_NVS_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 #else
#define MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST (0) #define MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST (0)
#endif #endif