Skip to content

Commit

Permalink
Fix CONFIG_BT_NIMBLE_NVS_PERSIST value not being used. (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero committed Mar 26, 2023
1 parent 0d9f039 commit beb1df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimble/esp_port/port/include/esp_nimble_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beb1df0

Please sign in to comment.