Skip to content

Commit

Permalink
[nxp][platform][k32w] BLE force disconnect handler calls API to allow…
Browse files Browse the repository at this point in the history
… low power
  • Loading branch information
mihai-ignat committed Apr 25, 2024
1 parent 67ac842 commit aa7f2ab
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 aa7f2ab

Please sign in to comment.