Skip to content

Commit

Permalink
fix light switch init endpoint error
Browse files Browse the repository at this point in the history
  • Loading branch information
shih840426 committed Jan 11, 2024
1 parent 0572f4a commit 6b85034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/light-switch-app/rt58x/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
Expand Down

0 comments on commit 6b85034

Please sign in to comment.