mirror of https://github.com/openXC7/prjxray.git
063-gtx-common-conf: fix bitfilter to include DRP and remove collisions
Signed-off-by: Hans Baier <foss@hans-baier.de>
This commit is contained in:
parent
9e486828a7
commit
c33ec0a26b
|
|
@ -40,7 +40,11 @@ def bitfilter_gtx_common(frame, bit):
|
|||
if word < 44 or word > 56:
|
||||
return False
|
||||
|
||||
if frame < 24 or frame > 31:
|
||||
# let ENABLE_DRP come through
|
||||
if (frame == 24 or frame or frame == 25) and bit == 1613:
|
||||
return True
|
||||
|
||||
if frame < 30 or frame > 31:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in New Issue