diff --git a/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.cpp b/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.cpp index a7308a776e46ac..a033f9afa93a2c 100644 --- a/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.cpp +++ b/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.cpp @@ -19,9 +19,8 @@ #include "chef-valve-configuration-and-control-delegate-impl.h" #include #include -#include -// #ifdef MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER +#ifdef MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER using namespace chip::app::Clusters::ValveConfigurationAndControl; using namespace chip::app::Clusters; @@ -162,5 +161,5 @@ void emberAfValveConfigurationAndControlClusterInitCallback(chip::EndpointId end ValveConfigurationAndControl::SetDefaultDelegate(endpointId, gValveConfigurationAndControlDelegate); } -// #endif // #ifdef MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER +#endif // MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER diff --git a/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.h b/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.h index 5e8983db116d87..c577b8e305468c 100644 --- a/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.h +++ b/examples/chef/common/clusters/valve-configuration-and-control/chef-valve-configuration-and-control-delegate-impl.h @@ -23,9 +23,10 @@ #include #include #include +#include #include -// #ifdef MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER +#ifdef MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER namespace chip { namespace app { @@ -63,5 +64,5 @@ chefValveConfigurationAndControlReadCallback(chip::EndpointId endpointId, chip:: const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, uint16_t maxReadLength); -// #endif // #ifdef MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER +#endif // MATTER_DM_PLUGIN_VALVE_CONFIGURATION_AND_CONTROL_SERVER