Merge pull request #12 from hv92/patch-2

Temperature requirement
This commit is contained in:
Junzi Sun 2017-10-11 20:34:39 +02:00 committed by GitHub
commit fbe5b63286

View File

@ -339,9 +339,9 @@ def isBDS44(msg, rev=False):
if vw is not None and vw[0] > 250:
result &= False
# if temp44(msg):
# if temp44(msg) > 60 or temp44(msg) < -80:
# result &= False
if temp44(msg):
if temp44(msg) > 60 or temp44(msg) < -80:
result &= False
return result