Doorlock: Add calling for emberAfDoorLockClusterInitCallback function

This commit is contained in:
liyashuai
2025-12-15 14:46:37 +08:00
committed by Shu Chen
parent 58d66e42b3
commit 3317574efb
@@ -1985,11 +1985,12 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
namespace door_lock {
const function_generic_t function_list[] = {
(function_generic_t)emberAfDoorLockClusterInitCallback,
(function_generic_t)MatterDoorLockClusterServerAttributeChangedCallback,
(function_generic_t)MatterDoorLockClusterServerShutdownCallback,
(function_generic_t)MatterDoorLockClusterServerPreAttributeChangedCallback,
};
const int function_flags = CLUSTER_FLAG_ATTRIBUTE_CHANGED_FUNCTION | CLUSTER_FLAG_SHUTDOWN_FUNCTION |
const int function_flags = CLUSTER_FLAG_INIT_FUNCTION | CLUSTER_FLAG_ATTRIBUTE_CHANGED_FUNCTION | CLUSTER_FLAG_SHUTDOWN_FUNCTION |
CLUSTER_FLAG_PRE_ATTRIBUTE_CHANGED_FUNCTION;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)