Skip to content

Commit

Permalink
Update ModelCommand.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google committed May 30, 2024
1 parent 067a372 commit b88e3dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void ModelCommand::OnDeviceConnectedFn(void * context, Messaging::ExchangeManage
VerifyOrReturn(command != nullptr, ChipLogError(chipTool, "OnDeviceConnectedFn: context is null"));

OperationalDeviceProxy device(&exchangeMgr, sessionHandle);
CHIP_ERROR err = command->SendCommand(&device, command->minEndPointId);
CHIP_ERROR err = command->SendCommand(&device, command->mEndPointId);
VerifyOrReturn(CHIP_NO_ERROR == err, command->SetCommandExitStatus(err));
}

Expand All @@ -82,7 +82,7 @@ void ModelCommand::Shutdown()
mOnDeviceConnectionFailureCallback.Cancel();
}

void ClearICDEntry(const chip::ScopedNodeId & nodeId);
void ModelCommand::ClearICDEntry(const chip::ScopedNodeId & nodeId)
{
ChipLogError(chipTool, "ClearICDEntry is not implemented in tv-casting-app");
}
Expand Down

0 comments on commit b88e3dd

Please sign in to comment.