Skip to content

Commit

Permalink
Removed un-necessary mention to CommonCaseDeviceServerInitParams, res…
Browse files Browse the repository at this point in the history
…tore CHIPConfig Synchronous reports to 0
  • Loading branch information
lpbeliveau-silabs committed Aug 4, 2023
1 parent 0dec6ad commit 1e89639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/app/server/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ struct ServerInitParams
// Operational certificate store with access to the operational certs in persisted storage:
// must not be null at timne of Server::Init().
Credentials::OperationalCertificateStore * opCertStore = nullptr;
// Required, if not provided, the Server::Init() WILL fail. The default reportScheduler implementation will be used when using
// CommonCaseDeviceServerInitParams, but the injection of a custom scheduler requires using the ServerInitParams base class to
// avoid dual allocation of memory for the scheduler.
// Required, if not provided, the Server::Init() WILL fail.
app::reporting::ReportScheduler * reportScheduler = nullptr;
};

Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/CHIPConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ extern const char CHIP_NON_PRODUCTION_MARKER[];
* various subscribers.
*/
#ifndef CHIP_CONFIG_SYNCHRONOUS_REPORTS_ENABLED
#define CHIP_CONFIG_SYNCHRONOUS_REPORTS_ENABLED 1
#define CHIP_CONFIG_SYNCHRONOUS_REPORTS_ENABLED 0
#endif

/**
Expand Down

0 comments on commit 1e89639

Please sign in to comment.