Update bds20.py
#message with empty callsign can still be BDS2,0 Example messages: a900189f20000000000000d0d739 a100000020000000000000a81785
This commit is contained in:
parent
00f04a8886
commit
b52431ca51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user