From a8f61f1a5e34c0fbf52d897a0cbaecbe75577662 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sun, 12 Feb 2017 23:01:45 +1100 Subject: Sync with latest OBD library --- megaloggerHD/megaloggerHD.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'megaloggerHD') diff --git a/megaloggerHD/megaloggerHD.ino b/megaloggerHD/megaloggerHD.ino index d90efa8..f7d7e47 100644 --- a/megaloggerHD/megaloggerHD.ino +++ b/megaloggerHD/megaloggerHD.ino @@ -294,7 +294,7 @@ bool checkSD() lcd.print(type); lcd.write(' '); if (!volume.init(card)) { - lcd.print("No FAT!"); + lcd.println("No FAT!"); return false; } @@ -630,6 +630,7 @@ void testOut() } p++; } + lcd.println(); } else { lcd.println("Timeout"); Serial.println("Timeout"); @@ -668,11 +669,11 @@ void setup() } #endif - obd.begin(); + byte version = obd.begin(); lcd.print("Adapter Ver. "); - lcd.print(obd.version / 10); + lcd.print(version / 10); lcd.print('.'); - lcd.println(obd.version % 10); + lcd.println(version % 10); #ifdef OBD_ADAPTER_I2C Wire.begin(); @@ -707,7 +708,6 @@ void setup() lcd.print("VIN:"); lcd.setColor(RGB16_YELLOW); lcd.println(buf); - lcd.println(); } uint16_t dtc[6]; -- cgit v1.2.3