Skip to content

Commit

Permalink
use CHIP_DEVICE_CONFIG_FAILSAFE_EXPIRY_LENGTH_SEC define to arme the …
Browse files Browse the repository at this point in the history
…failsafe (#35137)
  • Loading branch information
jmartinez-silabs authored and pull[bot] committed Oct 4, 2024
1 parent 8989008 commit 414068d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/server/CommissioningWindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ void CommissioningWindowManager::OnSessionEstablished(const SessionHandle & sess
}
else
{
err = failSafeContext.ArmFailSafe(kUndefinedFabricIndex, System::Clock::Seconds16(60));
err = failSafeContext.ArmFailSafe(kUndefinedFabricIndex,
System::Clock::Seconds16(CHIP_DEVICE_CONFIG_FAILSAFE_EXPIRY_LENGTH_SEC));
if (err != CHIP_NO_ERROR)
{
ChipLogError(AppServer, "Error arming failsafe on PASE session establishment completion");
Expand Down

0 comments on commit 414068d

Please sign in to comment.