Skip to content

Commit

Permalink
[nxp fromtree] [nxp][platform][k32w] BLE force disconnect handler cal…
Browse files Browse the repository at this point in the history
…ls API to allow low power (project-chip#33167)

(cherry picked from commit 745c17c)
  • Loading branch information
mihai-ignat committed May 13, 2024
1 parent e133c2a commit ec31999
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/platform/nxp/k32w/common/BLEManagerCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,10 @@ void BLEManagerCommon::HandleForceDisconnect()
{
ChipLogProgress(DeviceLayer, "Gap_Disconnect() failed.");
}

#if defined(chip_with_low_power) && (chip_with_low_power == 1)
PWR_AllowDeviceToSleep();
#endif
}

/*******************************************************************************
Expand Down

0 comments on commit ec31999

Please sign in to comment.