repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
win32: updated visual studio project files
[deb_libcec.git]
/
src
/
testclient
/
main.cpp
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index 983ba13736fff90d6b3b16c9fce8985206ead71c..813e22b4cd193501dd0f7447d26041e1f690c7e7 100644
(file)
--- a/
src/testclient/main.cpp
+++ b/
src/testclient/main.cpp
@@
-240,7
+240,6
@@
int main (int argc, char *argv[])
}
cout << "cec device opened" << endl;
}
cout << "cec device opened" << endl;
- usleep(CEC_SETTLE_DOWN_TIME);
parser->PowerOnDevices(CECDEVICE_TV);
flush_log(parser);
parser->PowerOnDevices(CECDEVICE_TV);
flush_log(parser);
@@
-289,6
+288,12
@@
int main (int argc, char *argv[])
{
parser->StartBootloader();
}
{
parser->StartBootloader();
}
+ else if (command == "r")
+ {
+ parser->Close();
+ parser->Open(strPort.c_str());
+ parser->SetActiveView();
+ }
else if (command == "h" || command == "help")
{
show_console_help();
else if (command == "h" || command == "help")
{
show_console_help();