From 59e7da3e5def9996889e1b80dad90d1f17c0e0c4 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Tue, 2 Oct 2012 13:56:51 -0700 Subject: [PATCH] removed 500ms blocking call when sending things to obd2 --- plugins/obd2plugin/obd2source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/obd2plugin/obd2source.cpp b/plugins/obd2plugin/obd2source.cpp index 06debe5..c11f312 100644 --- a/plugins/obd2plugin/obd2source.cpp +++ b/plugins/obd2plugin/obd2source.cpp @@ -36,7 +36,7 @@ bool sendElmCommand(obdLib *obd,std::string command) { std::vector replyVector; std::string reply; - obd->sendObdRequestString(command.append("\r").c_str(),command.length()+1,&replyVector,500,3); + obd->sendObdRequestString(command.append("\r").c_str(),command.length()+1,&replyVector,10,3); for (unsigned int i=0;i