From 6f4c3126a1498f3f33e05e014f91d4b588c36851 Mon Sep 17 00:00:00 2001 From: Zhang Hai Peng Date: Fri, 15 Aug 2025 14:53:36 +0800 Subject: [PATCH] fix(ble/bluedroid): Fixed the problem of macro definition error (cherry picked from commit 6b212c7d47dcb896b6780ca64a5fd02a2ce224b4) Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com> --- examples/bluetooth/bluedroid/ble/gatt_server/main/gatts_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bluetooth/bluedroid/ble/gatt_server/main/gatts_demo.c b/examples/bluetooth/bluedroid/ble/gatt_server/main/gatts_demo.c index 3e8b8a513d..64c220b465 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server/main/gatts_demo.c +++ b/examples/bluetooth/bluedroid/ble/gatt_server/main/gatts_demo.c @@ -203,7 +203,7 @@ void example_exec_write_event_env(prepare_type_env_t *prepare_write_env, esp_ble static void gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param) { switch (event) { -#ifdef CONFIG_SET_RAW_ADV_DATA +#ifdef CONFIG_EXAMPLE_SET_RAW_ADV_DATA case ESP_GAP_BLE_ADV_DATA_RAW_SET_COMPLETE_EVT: adv_config_done &= (~adv_config_flag); if (adv_config_done==0){