From a11bc4ccd8b6fe4fa540410f228949d000c9b101 Mon Sep 17 00:00:00 2001 From: Marius Tache Date: Mon, 7 Aug 2023 15:44:26 +0300 Subject: [PATCH] [K32W0] BLE processing should be done under the corresponding flag Signed-off-by: Marius Tache --- src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp b/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp index f248247f5ca917..e67680554fc0a9 100644 --- a/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp +++ b/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp @@ -72,8 +72,10 @@ void ThreadStackManagerImpl::ProcessThreadActivity() * by doing this, we avoid allocating a new stack for short-lived * BLE processing (e.g.: only during Matter commissioning) */ +#if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE auto * bleManager = &chip::DeviceLayer::Internal::BLEMgrImpl(); bleManager->DoBleProcessing(); +#endif #if defined(chip_with_low_power) && (chip_with_low_power == 1) if (isThreadInitialized())