summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevron Rees <tripzero.kev@gmail.com>2013-01-31 10:42:30 -0800
committerKevron Rees <tripzero.kev@gmail.com>2013-01-31 10:44:14 -0800
commite17d73dbd5cb2a3ee1812888669b152deb5daff6 (patch)
treef9957f7966e27300ba85855bd425a20233ee2f24
parentcdd5c906af75aec7a1a2968456d23031e3904c6c (diff)
downloadautomotive-message-broker-e17d73dbd5cb2a3ee1812888669b152deb5daff6.tar.gz
fixed some debug lines
-rw-r--r--plugins/obd2plugin/obd2source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/obd2plugin/obd2source.cpp b/plugins/obd2plugin/obd2source.cpp
index 613c742a..a18e6f0d 100644
--- a/plugins/obd2plugin/obd2source.cpp
+++ b/plugins/obd2plugin/obd2source.cpp
@@ -62,7 +62,7 @@ void connect(obdLib* obd, std::string device, std::string strbaud)
{
//printf("First: %s\nSecond: %s\n",req->arg.substr(0,req->arg.find(':')).c_str(),req->arg.substr(req->arg.find(':')+1).c_str());
std::string port = device;
- DebugOut() << "Obd2Source::Connect()" << device << strbaud << "\n";
+ DebugOut() << "Obd2Source::Connect()" << device << strbaud << endl;
int baud = boost::lexical_cast<int>(strbaud);
obd->openPort(port.c_str(),baud);
ObdPid::ByteArray replyVector;
@@ -76,7 +76,7 @@ std::string reply;
{
//No reply found
//printf("Error!\n");
- DebugOut() << __SMALLFILE__ <<":"<< __LINE__ << "Error resetting ELM\n";
+ DebugOut() << __SMALLFILE__ <<":"<< __LINE__ << "Error resetting ELM"<<endl;
}
else
{