From 6b85034f0482ed5c59f7f26d94b81312aea96d2d Mon Sep 17 00:00:00 2001 From: Randy Date: Thu, 11 Jan 2024 10:04:03 +0800 Subject: [PATCH] fix light switch init endpoint error --- examples/light-switch-app/rt58x/src/AppTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/light-switch-app/rt58x/src/AppTask.cpp b/examples/light-switch-app/rt58x/src/AppTask.cpp index 7e632df14..28217e37c 100644 --- a/examples/light-switch-app/rt58x/src/AppTask.cpp +++ b/examples/light-switch-app/rt58x/src/AppTask.cpp @@ -302,7 +302,7 @@ void AppTask::InitServer(intptr_t arg) chip::app::DnssdServer::Instance().StartServer(); } - err = LightSwitchMgr::GetInstance().Init(1, 1); + err = LightSwitchMgr::GetInstance().Init(1, 2); if (err != CHIP_NO_ERROR) { ChipLogError(NotSpecified, "LightSwitchMgr Init failed!");