From 35722904d04d00910535cce8683fdee43de7a50c Mon Sep 17 00:00:00 2001 From: Wang Qixiang <43193572+wqx6@users.noreply.github.com> Date: Wed, 2 Mar 2022 18:44:33 +0800 Subject: [PATCH] ESP32: Fix onnetwork pairing when disabling CHIPoBLE (#15707) --- config/esp32/components/chip/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index c9820b15d6f3bf..410dc02700b6e5 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -68,7 +68,7 @@ chip_gn_arg_append("esp32_cxx" "\"${CMAKE_CXX_COMPILER}\"") chip_gn_arg_append("esp32_cpu" "\"esp32\"") chip_gn_arg_bool("is_debug" ${is_debug}) -if(CONFIG_BT_ENABLED) +if(CONFIG_ENABLE_CHIPOBLE) chip_gn_arg_append("chip_config_network_layer_ble" "true") else() chip_gn_arg_append("chip_config_network_layer_ble" "false")