repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: include the ack timeout in the cec_command struct
[deb_libcec.git]
/
src
/
testclient
/
main.cpp
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index 867501d55041f1e68ecc4e28bc9cb6d4c8ccf2cb..9cb32bf167849d06a829aa5256a421a8ff31629b 100644
(file)
--- a/
src/testclient/main.cpp
+++ b/
src/testclient/main.cpp
@@
-404,7
+404,10
@@
int main (int argc, char *argv[])
while (GetWord(input, strvalue) && HexStrToInt(strvalue, ivalue))
bytes.push_back(ivalue);
while (GetWord(input, strvalue) && HexStrToInt(strvalue, ivalue))
bytes.push_back(ivalue);
- parser->Transmit(bytes, command == "tx");
+ if (command == "txn")
+ bytes.ack_timeout = 0;
+
+ parser->Transmit(bytes);
}
else if (command == "on")
{
}
else if (command == "on")
{