Skip to content

Commit

Permalink
changed: don't feature abort vendor command 0x0B sent by LG, but igno…
Browse files Browse the repository at this point in the history
…re it. issue #242
  • Loading branch information
opdenkamp committed Oct 25, 2016
1 parent 7ce191f commit 9362d39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libcec/implementations/SLCommandHandler.cpp
Expand Up @@ -56,6 +56,7 @@ using namespace P8PLATFORM;
#define SL_COMMAND_CONNECT_REQUEST 0x04
#define SL_COMMAND_SET_DEVICE_MODE 0x05
#define SL_COMMAND_REQUEST_POWER_STATUS 0xa0
#define SL_COMMAND_UNKNOWN 0x0b

#define LIB_CEC m_busDevice->GetProcessor()->GetLib()
#define ToString(p) LIB_CEC->ToString(p)
Expand Down Expand Up @@ -132,6 +133,10 @@ int CSLCommandHandler::HandleVendorCommand(const cec_command &command)
HandleVendorCommandPowerOnStatus(command);
return COMMAND_HANDLED;
}
else if (command.parameters.size == 1 &&
command.parameters[0] == SL_COMMAND_UNKNOWN) {
return COMMAND_HANDLED;
}

return CCECCommandHandler::HandleVendorCommand(command);
}
Expand Down

0 comments on commit 9362d39

Please sign in to comment.