Skip to content

Commit

Permalink
[K32W0] remove extra PWR_DisallowDeviceToSleep() which will cause uns…
Browse files Browse the repository at this point in the history
…leep after commissioning
  • Loading branch information
Ethan Tan authored and marius-alex-tache committed Jan 12, 2024
1 parent 4f7e967 commit 4051823
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platform/nxp/k32w/common/BLEManagerCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,6 @@ void BLEManagerCommon::blekw_gap_connection_cb(deviceId_t deviceId, gapConnectio

if (pConnectionEvent->eventType == gConnEvtConnected_c)
{
#if defined(chip_with_low_power) && (chip_with_low_power == 1)
PWR_DisallowDeviceToSleep();
#endif
#if CHIP_DEVICE_CONFIG_BLE_SET_PHY_2M_REQ
ChipLogProgress(DeviceLayer, "BLE K32W: Trying to set the PHY to 2M");

Expand Down

0 comments on commit 4051823

Please sign in to comment.