repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: mark device status as present when a command was received from a device
[deb_libcec.git]
/
src
/
lib
/
implementations
/
SLCommandHandler.cpp
diff --git
a/src/lib/implementations/SLCommandHandler.cpp
b/src/lib/implementations/SLCommandHandler.cpp
index 181e6fcf02a1cc8ade153ba738e72034db9f0d0a..40c0066ad3d400f0467a8ac956f32b43e5b17cc3 100644
(file)
--- a/
src/lib/implementations/SLCommandHandler.cpp
+++ b/
src/lib/implementations/SLCommandHandler.cpp
@@
-44,11
+44,11
@@
CSLCommandHandler::CSLCommandHandler(CCECBusDevice *busDevice) :
bool CSLCommandHandler::HandleVendorCommand(const cec_command &command)
{
if (command.parameters.size == 1 &&
bool CSLCommandHandler::HandleVendorCommand(const cec_command &command)
{
if (command.parameters.size == 1 &&
- command.parameters[0] == 0x
A0
)
+ command.parameters[0] == 0x
01
)
{
/* enable SL */
cec_command response;
{
/* enable SL */
cec_command response;
- cec_command::Format(response,
m_busDevice->GetLogicalAddress()
, command.initiator, CEC_OPCODE_VENDOR_COMMAND);
+ cec_command::Format(response,
command.destination
, command.initiator, CEC_OPCODE_VENDOR_COMMAND);
response.PushBack(0x02);
response.PushBack(0x05);
response.PushBack(0x02);
response.PushBack(0x05);