projects
/
profile
/
ivi
/
automotive-message-broker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930fd06
)
removed 500ms blocking call when sending things to obd2
01/2301/1
author
Kevron Rees
<tripzero.kev@gmail.com>
Tue, 2 Oct 2012 20:56:51 +0000
(13:56 -0700)
committer
Kevron Rees
<tripzero.kev@gmail.com>
Tue, 2 Oct 2012 20:56:51 +0000
(13:56 -0700)
plugins/obd2plugin/obd2source.cpp
patch
|
blob
|
history
diff --git
a/plugins/obd2plugin/obd2source.cpp
b/plugins/obd2plugin/obd2source.cpp
index
06debe5
..
c11f312
100644
(file)
--- a/
plugins/obd2plugin/obd2source.cpp
+++ b/
plugins/obd2plugin/obd2source.cpp
@@
-36,7
+36,7
@@
bool sendElmCommand(obdLib *obd,std::string command)
{
std::vector<unsigned char> replyVector;
std::string reply;
- obd->sendObdRequestString(command.append("\r").c_str(),command.length()+1,&replyVector,
50
0,3);
+ obd->sendObdRequestString(command.append("\r").c_str(),command.length()+1,&replyVector,
1
0,3);
for (unsigned int i=0;i<replyVector.size();i++)
{
reply += replyVector[i];