From 6298796e3fe7ccb1a1fb119a89abc2db8250633d Mon Sep 17 00:00:00 2001 From: lukeorland Date: Mon, 13 Dec 2010 23:29:15 -0500 Subject: [PATCH] fixes the mph not updating --- lib/sensors/basic_message_arduino_sensor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sensors/basic_message_arduino_sensor.rb b/lib/sensors/basic_message_arduino_sensor.rb index cb829a6..e50e985 100644 --- a/lib/sensors/basic_message_arduino_sensor.rb +++ b/lib/sensors/basic_message_arduino_sensor.rb @@ -215,7 +215,7 @@ def start Thread.current["finish_times"][3] = l.gsub(/3f: /,'').to_i end if l =~ /t:/ - #Thread.current["time"] = l.gsub(/t: /,'').to_i + Thread.current["time"] = l.gsub(/t: /,'').to_i end end puts l