Skip to content

Commit

Permalink
Remove double init
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 20, 2024
1 parent ba14e7e commit de10790
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/light-switch-app/qpg/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ CHIP_ERROR AppTask::StartAppTask()
void AppTask::InitServer(intptr_t arg)
{
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = CodegenDataModelProviderInstance();

gExampleDeviceInfoProvider.SetStorageDelegate(initParams.persistentStorageDelegate);
chip::DeviceLayer::SetDeviceInfoProvider(&gExampleDeviceInfoProvider);
Expand Down

0 comments on commit de10790

Please sign in to comment.