component/bt: fix the bug when close the SMP module in the menuconfig will lead to compile error.

This commit is contained in:
Yulong
2017-09-14 09:01:12 -04:00
committed by yulong
parent 5e50c9d884
commit 875ba996d5
5 changed files with 10 additions and 5 deletions
@@ -780,7 +780,7 @@ esp_err_t esp_ble_gap_config_adv_data_raw(uint8_t *raw_data, uint32_t raw_data_l
*/
esp_err_t esp_ble_gap_config_scan_rsp_data_raw(uint8_t *raw_data, uint32_t raw_data_len);
#if (SMP_INCLUDED == TRUE)
/**
* @brief Set a GAP security parameter value. Overrides the default value.
*
@@ -888,6 +888,8 @@ int esp_ble_get_bond_device_num(void);
*/
esp_err_t esp_ble_get_bond_device_list(int *dev_num, esp_ble_bond_dev_t *dev_list);
#endif /* #if (SMP_INCLUDED == TRUE) */
/**
* @brief This function is to disconnect the physical connection of the peer device
*