Update bds20.py

#message with empty callsign can still be BDS2,0

Example messages:
a900189f20000000000000d0d739
a100000020000000000000a81785
This commit is contained in:
Flyer350 2022-01-24 10:38:17 +01:00 committed by GitHub
parent 00f04a8886
commit b52431ca51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ def is20(msg):
cs = cs20(msg)
if "#" in cs:
if "#" in cs and common.bin2int(d[8:56])>0: #message with empty callsign can still be BDS2,0
return False
return True