Skip to content

Commit b88e3dd

Browse files
Update ModelCommand.cpp
1 parent 067a372 commit b88e3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/tv-casting-app/tv-casting-common/commands/clusters/ModelCommand.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void ModelCommand::OnDeviceConnectedFn(void * context, Messaging::ExchangeManage
6161
VerifyOrReturn(command != nullptr, ChipLogError(chipTool, "OnDeviceConnectedFn: context is null"));
6262

6363
OperationalDeviceProxy device(&exchangeMgr, sessionHandle);
64-
CHIP_ERROR err = command->SendCommand(&device, command->minEndPointId);
64+
CHIP_ERROR err = command->SendCommand(&device, command->mEndPointId);
6565
VerifyOrReturn(CHIP_NO_ERROR == err, command->SetCommandExitStatus(err));
6666
}
6767

@@ -82,7 +82,7 @@ void ModelCommand::Shutdown()
8282
mOnDeviceConnectionFailureCallback.Cancel();
8383
}
8484

85-
void ClearICDEntry(const chip::ScopedNodeId & nodeId);
85+
void ModelCommand::ClearICDEntry(const chip::ScopedNodeId & nodeId)
8686
{
8787
ChipLogError(chipTool, "ClearICDEntry is not implemented in tv-casting-app");
8888
}

0 commit comments

Comments
 (0)