From 6160e574d95fdbd1c83d40700112ff9a892f3add Mon Sep 17 00:00:00 2001
From: Stanley Huang <stanleyhuangyc@gmail.com>
Date: Fri, 29 Nov 2013 23:15:11 +1100
Subject: update sample sketches

---
 samples/dashboard_4884/dashboard_4884.ino | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'samples/dashboard_4884')

diff --git a/samples/dashboard_4884/dashboard_4884.ino b/samples/dashboard_4884/dashboard_4884.ino
index 6f845e2..044ef67 100644
--- a/samples/dashboard_4884/dashboard_4884.ino
+++ b/samples/dashboard_4884/dashboard_4884.ino
@@ -174,7 +174,7 @@ public:
                 lcd.LCD_write_string(0, 1, "Wait ECU start", MENU_NORMAL);
                 do {
                   delay(1000);
-                } while (!readSensor(PID_RPM, value));
+                } while (!read(PID_RPM, value));
                 lcd.LCD_write_string(0, 2, "ECU started   ", MENU_NORMAL);
                 lcd.LCD_write_string(0, 3, "Wait ignition ", MENU_NORMAL);
                 do {
-- 
cgit v1.2.3