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) (#20866)

Co-authored-by: Markus Becker <Markus.Becker@tridonic.com>
  • Loading branch information
woody-apple and markus-becker-tridonic-com authored Jul 18, 2022
1 parent aa9457e commit 74e5ca2
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 74e5ca2

Please sign in to comment.