diff trau-decode/parse-main.c @ 4:d9c095357c32

trau-parse: check and report EFR CRC
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 May 2024 09:16:35 +0000
parents b2ef2c80fef1
children bf5c9fb431b8
line wrap: on
line diff
--- a/trau-decode/parse-main.c	Fri May 24 08:31:52 2024 +0000
+++ b/trau-decode/parse-main.c	Fri May 24 09:16:35 2024 +0000
@@ -119,6 +119,10 @@
 		collect_d_bits();
 		print_fr_frame(d_bits);
 		break;
+	case 0x1A:
+		collect_d_bits();
+		check_efr_crc(d_bits);
+		break;
 	}
 	printf("  C16=%u C17=%u C18=%u C19=%u C20=%u C21=%u\n",
 		frame_bits[310], frame_bits[311], frame_bits[312],