minor fix in bit sequence

This commit is contained in:
Junzi Sun 2017-11-18 22:14:09 +01:00 committed by GitHub
parent 7c8fd74db7
commit a9887d6238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -592,7 +592,7 @@ def airborne_velocity(msg):
subtype = util.bin2int(msgbin[37:40])
if util.bin2int(msgbin[46:56]) == 0 or util.bin2int(msgbin[46:56]) == 0:
if util.bin2int(msgbin[46:56]) == 0 or util.bin2int(msgbin[57:67]) == 0:
return None
if subtype in (1, 2):