Skip to content

Commit

Permalink
fix: IM server initialization without parameters (#17701)
Browse files Browse the repository at this point in the history
Change-Id: I5254aaacc5c6babf6922caaa96748771e3d4dcaf
  • Loading branch information
rochaferraz authored Apr 25, 2022
1 parent 8171632 commit ff126ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/chef/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ void printQRCode()
void InitServer(intptr_t)
{
// Start IM server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
chip::Server::GetInstance().Init(initParams);
chip::Server::GetInstance().Init();

// Device Attestation & Onboarding codes
chip::Credentials::SetDeviceAttestationCredentialsProvider(chip::Credentials::Examples::GetExampleDACProvider());
Expand Down

0 comments on commit ff126ae

Please sign in to comment.