FreeCalypso > hg > gsm-net-reveng
changeset 58:a7ede064f883
atrau-parse: check sync one bit
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 25 Sep 2024 17:50:41 +0000 |
parents | fe3cdbbc96f9 |
children | 323a4b75a32d |
files | d144/atrau-parse.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/d144/atrau-parse.c Wed Sep 25 17:45:29 2024 +0000 +++ b/d144/atrau-parse.c Wed Sep 25 17:50:41 2024 +0000 @@ -74,7 +74,7 @@ { unsigned n; - if (!check_sync_zeros(frame_bits)) + if (!check_sync_zeros(frame_bits) || !frame_bits[16]) printf(" Bad sync bits!\n"); printf(" C1-C5: %u%u%u%u%u\n", frame_bits[17], frame_bits[18], frame_bits[19], frame_bits[20], frame_bits[21]);