File tree 3 files changed +6
-1
lines changed
examples/chef/common/clusters/door-lock
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 16
16
* limitations under the License.
17
17
*/
18
18
19
+ #ifdef MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
19
20
#include < app/clusters/door-lock-server/door-lock-server.h>
20
21
#include < app/data-model/Nullable.h>
21
22
#include < app/util/af.h>
@@ -129,3 +130,4 @@ void emberAfDoorLockClusterInitCallback(EndpointId endpoint)
129
130
DoorLockServer::Instance ().InitServer (endpoint);
130
131
LockManager::Instance ().InitEndpoint (endpoint);
131
132
}
133
+ #endif // MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
Original file line number Diff line number Diff line change 15
15
* See the License for the specific language governing permissions and
16
16
* limitations under the License.
17
17
*/
18
+ #ifdef MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
18
19
#include " chef-lock-endpoint.h"
19
20
#include < app-common/zap-generated/attributes/Accessors.h>
20
21
#include < cstring>
@@ -675,3 +676,4 @@ const char * LockEndpoint::lockStateToString(DlLockState lockState) const
675
676
676
677
return " Unknown" ;
677
678
}
679
+ #endif // MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
Original file line number Diff line number Diff line change 15
15
* See the License for the specific language governing permissions and
16
16
* limitations under the License.
17
17
*/
18
-
18
+ # ifdef MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
19
19
#include " chef-lock-manager.h"
20
20
#include < iostream>
21
21
#include < lib/support/logging/CHIPLogging.h>
@@ -371,3 +371,4 @@ LockEndpoint * LockManager::getEndpoint(chip::EndpointId endpointId)
371
371
}
372
372
return nullptr ;
373
373
}
374
+ #endif // MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
You can’t perform that action at this time.
0 commit comments