mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
/* All the configuration from SDK defined here */
|
||||
#include "bt_common.h"
|
||||
#include "bt_user_config.h"
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
/**********************************************************
|
||||
* Thread/Task reference
|
||||
@@ -104,8 +105,12 @@
|
||||
#ifdef CONFIG_BT_BLE_RPA_SUPPORTED
|
||||
#define UC_BT_BLE_RPA_SUPPORTED CONFIG_BT_BLE_RPA_SUPPORTED
|
||||
#else
|
||||
#if SOC_BLE_DEVICE_PRIVACY_SUPPORTED
|
||||
#define UC_BT_BLE_RPA_SUPPORTED TRUE
|
||||
#else
|
||||
#define UC_BT_BLE_RPA_SUPPORTED FALSE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BT_BLE_50_FEATURES_SUPPORTED
|
||||
#define UC_BT_BLE_50_FEATURES_SUPPORTED CONFIG_BT_BLE_50_FEATURES_SUPPORTED
|
||||
|
||||
Reference in New Issue
Block a user