Skip to content

Commit

Permalink
Update ModelCommand.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored May 30, 2024
1 parent 067a372 commit a4ee8bd
Showing 1 changed file with 1 addition and 1 deletion.
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 Down

0 comments on commit a4ee8bd

Please sign in to comment.