Skip to content

Commit

Permalink
Fixing incorrect conversion to MPH
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiam committed Jul 3, 2015
1 parent 15a0f44 commit cb04b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gauge.py
Expand Up @@ -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()

Expand Down

0 comments on commit cb04b3d

Please sign in to comment.