From cb04b3d3d928f0fb875df2b9e8ea5df5ebdb8b2b Mon Sep 17 00:00:00 2001 From: Billiam Date: Fri, 3 Jul 2015 12:47:04 -0500 Subject: [PATCH] Fixing incorrect conversion to MPH --- gauge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gauge.py b/gauge.py index 5825283..0f78349 100644 --- a/gauge.py +++ b/gauge.py @@ -28,7 +28,7 @@ class Receiver(asyncore.dispatcher): def __init__(self, address, sender, speed_units): asyncore.dispatcher.__init__(self) self.sender = sender - self.speed_modifier = speed_units == 'mph' and 1 or 0.625 + self.speed_modifier = speed_units == 'mph' and 0.6214 or 1 self.address = address self.reconnect()