return device;
}
-
void CCECCommandHandler::SetVendorId(const cec_command &command)
{
if (command.parameters.size < 3)
CCECBusDevice *device = GetDevice((cec_logical_address) command.initiator);
if (device)
- device->SetVendorId(iVendorId, iVendorId);
+ device->SetVendorId(iVendorId, command.parameters.size > 3 ? command.parameters[3] : 0);
}