Skip to content

Commit

Permalink
Restore the call to nvm3_open(), it's safe to call multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
selissia committed Apr 26, 2023
1 parent 0fceafd commit 02deebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/silabs/SilabsConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ namespace Internal {
CHIP_ERROR SilabsConfig::Init()
{
// nvm3_Sem is created in nvm3_lockBegin()
// nvm3_open() is called by nvm3_initDefault() in sl_platform_init() in SLC-generated sl_event_handler.c
return CHIP_NO_ERROR;

return MapNvm3Error(nvm3_open(nvm3_defaultHandle, nvm3_defaultInit));
}

void SilabsConfig::DeInit()
Expand Down

0 comments on commit 02deebd

Please sign in to comment.