Skip to content

Commit

Permalink
[K32W0] BLE processing should be done under the corresponding flag
Browse files Browse the repository at this point in the history
Signed-off-by: Marius Tache <marius.tache@nxp.com>
  • Loading branch information
marius-alex-tache committed Aug 8, 2023
1 parent 2070276 commit a11bc4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit a11bc4c

Please sign in to comment.