mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4
This commit is contained in:
@@ -20,10 +20,6 @@
|
||||
#include "../../common/btdm_bredr.h"
|
||||
#endif // SOC_BT_CLASSIC_SUPPORTED
|
||||
|
||||
#if SOC_BLE_SUPPORTED
|
||||
#include "../../common/btdm_le.h"
|
||||
#endif /* SOC_BLE_SUPPORTED */
|
||||
|
||||
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
|
||||
#include "driver/uart.h"
|
||||
#endif
|
||||
@@ -112,6 +108,11 @@
|
||||
uint8_t val[6]; /*!< Array containing the 6-byte Bluetooth address value */
|
||||
} esp_ble_addr_t;
|
||||
|
||||
|
||||
#if SOC_BLE_SUPPORTED
|
||||
#include "../../common/btdm_le.h"
|
||||
#endif /* SOC_BLE_SUPPORTED */
|
||||
|
||||
#define BTDM_CONFIG_VERSION 0x20260127
|
||||
#define BTDM_CONFIG_MAGIC_VALUE 0x5a5aa5a5
|
||||
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
#include "../../common/btdm_bredr.h"
|
||||
#endif // SOC_BT_CLASSIC_SUPPORTED
|
||||
|
||||
#if SOC_BLE_SUPPORTED
|
||||
#include "../../common/btdm_le.h"
|
||||
#endif /* SOC_BLE_SUPPORTED */
|
||||
|
||||
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
|
||||
#include "driver/uart.h"
|
||||
#endif
|
||||
@@ -112,6 +108,10 @@ typedef struct {
|
||||
uint8_t val[6]; /*!< Array containing the 6-byte Bluetooth address value */
|
||||
} esp_ble_addr_t;
|
||||
|
||||
#if SOC_BLE_SUPPORTED
|
||||
#include "../../common/btdm_le.h"
|
||||
#endif /* SOC_BLE_SUPPORTED */
|
||||
|
||||
#define BTDM_CONFIG_VERSION 0x20260127
|
||||
#define BTDM_CONFIG_MAGIC_VALUE 0x5a5aa5a5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user