Skip to content

Commit 533452a

Browse files
removal of #if
1 parent 4953cde commit 533452a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/app/clusters/icd-management-server/icd-management-server.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,9 @@ bool emberAfIcdManagementClusterUnregisterClientCallback(CommandHandler * comman
425425
bool emberAfIcdManagementClusterStayActiveRequestCallback(CommandHandler * commandObj, const ConcreteCommandPath & commandPath,
426426
const Commands::StayActiveRequest::DecodableType & commandData)
427427
{
428-
// Note: We only need this #if statement for platform examples that enable the ICD management server without building the sample
429-
// as an ICD. Since this is not spec compliant, we should remove this #if statement once we stop compiling the ICD management
430-
// server in those examples.
431-
#if CHIP_CONFIG_ENABLE_ICD_SERVER
432428
IcdManagement::Commands::StayActiveResponse::Type response;
433429
response.promisedActiveDuration = Server::GetInstance().GetICDManager().StayActiveRequest(commandData.stayActiveDuration);
434430
commandObj->AddResponse(commandPath, response);
435-
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
436431
return true;
437432
}
438433

0 commit comments

Comments
 (0)