From 605698ca09de3b79ea520d6b1f60ed3154cbc356 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Fri, 23 Nov 2018 11:12:31 -0600 Subject: [PATCH] Update bptc.py --- dmr_utils/bptc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmr_utils/bptc.py b/dmr_utils/bptc.py index 62ecee0..5fe79e0 100755 --- a/dmr_utils/bptc.py +++ b/dmr_utils/bptc.py @@ -217,7 +217,7 @@ if __name__ == '__main__': # Validation Example - voice_h = '\x2b\x60\x04\x10\x1f\x84\x2d\xd0\x0d\xf0\x7d\x41\x04\x6d\xff\x57\xd7\x5d\xf5\xde\x30\x15\x2e\x20\x70\xb2\x0f\x80\x3f\x88\xc6\x95\xe2' + voice_h = b'\x2b\x60\x04\x10\x1f\x84\x2d\xd0\x0d\xf0\x7d\x41\x04\x6d\xff\x57\xd7\x5d\xf5\xde\x30\x15\x2e\x20\x70\xb2\x0f\x80\x3f\x88\xc6\x95\xe2' voice_hb = bitarray(endian='big') voice_hb.frombytes(voice_h) voice_hb = voice_hb[0:98] + voice_hb[166:264]