Merge pull request #17 from hv92/dev-2.0

Minor change BDS 5,0 roll angle detection
This commit is contained in:
Junzi Sun 2018-03-27 13:55:19 +02:00 committed by GitHub
commit 05e34e7516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ def isBDS50(msg):
if wrongstatus(d, 46, 47, 56): if wrongstatus(d, 46, 47, 56):
return False return False
if d[2:11] != "000000000": if d[1:11] != "0000000000":
roll = abs(roll50(msg)) roll = abs(roll50(msg))
if roll and roll > 60: if roll and roll > 60:
return False return False