From 7102c8a38c5d0e81dd905e9552a5105b6fe3d395 Mon Sep 17 00:00:00 2001 From: Zhang Hai Peng Date: Tue, 2 Jun 2026 10:23:20 +0800 Subject: [PATCH] fix(ble/bluedroid): Ensure HIGH_DUTY_ADV_INTERVAL config is applied in stack (cherry picked from commit 82c5c1fef3818bee736efb5b8f5b98bb1a693b24) Co-authored-by: zhanghaipeng --- components/bt/host/bluedroid/api/include/api/esp_bt_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/host/bluedroid/api/include/api/esp_bt_defs.h b/components/bt/host/bluedroid/api/include/api/esp_bt_defs.h index bd4b2c7e763..b6573c4de65 100644 --- a/components/bt/host/bluedroid/api/include/api/esp_bt_defs.h +++ b/components/bt/host/bluedroid/api/include/api/esp_bt_defs.h @@ -210,7 +210,7 @@ typedef uint8_t esp_link_key[ESP_BT_OCTET16_LEN]; /* Link Key */ /// Default GATT interface id #define ESP_DEFAULT_GATT_IF 0xff -#if BLE_HIGH_DUTY_ADV_INTERVAL +#if CONFIG_BT_BLE_HIGH_DUTY_ADV_INTERVAL #define ESP_BLE_PRIM_ADV_INT_MIN 0x000008 /*!< Minimum advertising interval for undirected and low duty cycle directed advertising */ #else #define ESP_BLE_PRIM_ADV_INT_MIN 0x000020 /*!< Minimum advertising interval for undirected and low duty cycle directed advertising */