| 239 | } |
| 240 | |
| 241 | int CCECCommandHandler::HandleDeviceCecVersion(const cec_command &command) |
| 242 | { |
| 243 | if (command.parameters.size == 1) |
| 244 | { |
| 245 | CCECBusDevice *device = GetDevice(command.initiator); |
| 246 | if (device) |
| 247 | device->SetCecVersion((cec_version) command.parameters[0]); |
| 248 | |
| 249 | return COMMAND_HANDLED; |
| 250 | } |
| 251 | |
| 252 | return CEC_ABORT_REASON_INVALID_OPERAND; |
| 253 | } |
| 254 | |
| 255 | int CCECCommandHandler::HandleDeviceVendorCommandWithId(const cec_command& command) |
| 256 | { |
nothing calls this directly
no test coverage detected