From: Kevron Rees Date: Thu, 9 May 2013 22:24:35 +0000 (-0700) Subject: fix battery voltage in obd2 X-Git-Tag: 0.10.800~22^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a4f8ce0e3ec366ff3f077071636171175753c60;p=profile%2Fivi%2Fautomotive-message-broker.git fix battery voltage in obd2 --- diff --git a/plugins/obd2plugin/obdpid.h b/plugins/obd2plugin/obdpid.h index 9caccc9..0731063 100644 --- a/plugins/obd2plugin/obdpid.h +++ b/plugins/obd2plugin/obdpid.h @@ -435,7 +435,7 @@ public: bool isValid(ByteArray replyVector) { - ByteArray tmp = compress(cleanup(replyVector)); + ByteArray tmp = cleanup(replyVector); if(tmp[tmp.size() - 1] == 'V') { return isValidVal = true; @@ -444,11 +444,11 @@ public: } void parse(ByteArray replyVector) { - ByteArray tmp = compress(cleanup(replyVector)); + ByteArray tmp = cleanup(replyVector); value = ""; for(int i=0; i