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:
583d948
)
fix battery voltage in obd2
author
Kevron Rees
<tripzero.kev@gmail.com>
Thu, 9 May 2013 22:24:35 +0000
(15:24 -0700)
committer
Kevron Rees
<tripzero.kev@gmail.com>
Thu, 9 May 2013 22:24:35 +0000
(15:24 -0700)
plugins/obd2plugin/obdpid.h
patch
|
blob
|
history
diff --git
a/plugins/obd2plugin/obdpid.h
b/plugins/obd2plugin/obdpid.h
index
9caccc9
..
0731063
100644
(file)
--- a/
plugins/obd2plugin/obdpid.h
+++ b/
plugins/obd2plugin/obdpid.h
@@
-435,7
+435,7
@@
public:
bool isValid(ByteArray replyVector)
{
- ByteArray tmp = c
ompress(cleanup(replyVector)
);
+ ByteArray tmp = c
leanup(replyVector
);
if(tmp[tmp.size() - 1] == 'V')
{
return isValidVal = true;
@@
-444,11
+444,11
@@
public:
}
void parse(ByteArray replyVector)
{
- ByteArray tmp = c
ompress(cleanup(replyVector)
);
+ ByteArray tmp = c
leanup(replyVector
);
value = "";
for(int i=0; i<tmp.size() - 1; i++)
{
- value+= tmp[i];
+ value
+= tmp[i];
}
}