From 1fd9bbeb57fea552d370dd883304ffcd4357f8bb Mon Sep 17 00:00:00 2001 From: Jakub Date: Mon, 24 Oct 2022 16:31:07 +0200 Subject: [PATCH] Enable ble configuration in chip-tool for tizen platform (#23317) --- examples/chip-tool/commands/common/CHIPCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chip-tool/commands/common/CHIPCommand.cpp b/examples/chip-tool/commands/common/CHIPCommand.cpp index 5c56a75c81da52..c5edba6c3dd19f 100644 --- a/examples/chip-tool/commands/common/CHIPCommand.cpp +++ b/examples/chip-tool/commands/common/CHIPCommand.cpp @@ -89,7 +89,7 @@ CHIP_ERROR CHIPCommand::MaybeSetUpStack() StartTracing(); -#if CHIP_DEVICE_LAYER_TARGET_LINUX && CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE +#if (CHIP_DEVICE_LAYER_TARGET_LINUX || CHIP_DEVICE_LAYER_TARGET_TIZEN) && CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE // By default, Linux device is configured as a BLE peripheral while the controller needs a BLE central. ReturnLogErrorOnFailure(chip::DeviceLayer::Internal::BLEMgrImpl().ConfigureBle(mBleAdapterId.ValueOr(0), true)); #endif