Skip to content

Commit

Permalink
Initialize the generic implementation ConfigurationManager base class. (
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored Mar 22, 2022
1 parent d71e8e5 commit d57c3b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/platform/cc13x2_26x2/ConfigurationManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ CHIP_ERROR ConfigurationManagerImpl::Init()
CHIP_ERROR err;
bool failSafeArmed;

// Initialize the generic implementation base class.
err = Internal::GenericConfigurationManagerImpl<CC13X2_26X2Config>::Init();
ReturnErrorOnFailure(err);

// If the fail-safe was armed when the device last shutdown, initiate a factory reset.
if (GetFailSafeArmed(failSafeArmed) == CHIP_NO_ERROR && failSafeArmed)
{
Expand Down

0 comments on commit d57c3b3

Please sign in to comment.