Skip to content

Commit

Permalink
return CHIP_NO_ERROR and not CHIP_ERROR_NOT_IMPLEMENTED in implemente…
Browse files Browse the repository at this point in the history
…d function GetSetupPasscode() (#20856)
  • Loading branch information
markus-becker-tridonic-com authored Jul 18, 2022
1 parent 784c7f3 commit e79fcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/nrfconnect/FactoryDataProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ CHIP_ERROR FactoryDataProvider<FlashFactoryData>::GetSetupPasscode(uint32_t & se
{
ReturnErrorCodeIf(mFactoryData.passcode == 0, CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND);
setupPasscode = mFactoryData.passcode;
return CHIP_ERROR_NOT_IMPLEMENTED;
return CHIP_NO_ERROR;
}

template <class FlashFactoryData>
Expand Down

0 comments on commit e79fcbe

Please sign in to comment.