fix all_device_types_app link error

This commit is contained in:
liyashuai
2025-12-15 19:38:32 +08:00
committed by Shu Chen
parent 3317574efb
commit 849fc9b725
2 changed files with 7 additions and 10 deletions
@@ -218,6 +218,13 @@ void diagnostic_init()
}
#endif // CONFIG_ENABLE_ESP_DIAGNOSTICS_TRACE
#ifdef CONFIG_SUPPORT_DOOR_LOCK_CLUSTER
void emberAfDoorLockClusterInitCallback(chip::EndpointId endpoint)
{
ESP_LOGI(TAG, "Door Lock App: Init Callback endpoint=%d", endpoint);
}
#endif // CONFIG_SUPPORT_DOOR_LOCK_CLUSTER
extern "C" void app_main()
{
esp_err_t err = ESP_OK;
@@ -8,18 +8,8 @@
#include <esp_log.h>
#include "door_lock_manager.h"
#include <app/clusters/door-lock-server/door-lock-server.h>
#include <platform/CHIPDeviceLayer.h>
#include <app-common/zap-generated/ids/Attributes.h>
#include <app-common/zap-generated/ids/Clusters.h>
#include <app/ConcreteAttributePath.h>
#include <app/data-model/Nullable.h>
#include <lib/core/DataModelTypes.h>
using namespace chip::app::Clusters;
using chip::app::DataModel::Nullable;
static const char *TAG = "doorlock_callback";
void door_lock_init()