Skip to content

Commit 08ca3c6

Browse files
author
Brendan Whitfield
committed
made unit types more consistant and more useful
1 parent f190039 commit 08ca3c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

obd/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Unit:
3939
NONE = None
4040
RATIO = "Ratio"
4141
COUNT = "Count"
42-
PERCENT = "Percent"
42+
PERCENT = "%"
4343
RPM = "RPM"
4444
VOLT = "Volt"
4545
F = "F"
@@ -48,9 +48,9 @@ class Unit:
4848
MIN = "Minute"
4949
PA = "Pa"
5050
KPA = "kPa"
51-
PSI = "PSI"
52-
KPH = "Kilometers per Hour"
53-
MPH = "Miles per Hour"
51+
PSI = "psi"
52+
KPH = "kph"
53+
MPH = "mph"
5454
DEGREES = "Degrees"
5555
GPS = "Grams per Second"
5656
MA = "mA"

0 commit comments

Comments
 (0)