comparison hrutil/cod-craft.c @ 575:5452d6cd64b1

gsmhr-cod-craft: use gsmhr_set_sid_cw_params() function
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Feb 2025 00:46:06 +0000
parents b4c4ed4b1b91
children
comparison
equal deleted inserted replaced
574:993cb9273f89 575:5452d6cd64b1
37 } 37 }
38 38
39 static void 39 static void
40 set_sid_cw() 40 set_sid_cw()
41 { 41 {
42 /* Int_LPC and Mode */ 42 gsmhr_set_sid_cw_params(enc_frame);
43 enc_frame[4] = 1;
44 enc_frame[5] = 3;
45 /* subframe 1 */
46 enc_frame[6] = 0xFF;
47 enc_frame[7] = 0x1FF;
48 enc_frame[8] = 0x1F;
49 /* subframe 2 */
50 enc_frame[9] = 0xF;
51 enc_frame[10] = 0x1FF;
52 enc_frame[11] = 0x1F;
53 /* subframe 3 */
54 enc_frame[12] = 0xF;
55 enc_frame[13] = 0x1FF;
56 enc_frame[14] = 0x1F;
57 /* subframe 4 */
58 enc_frame[15] = 0xF;
59 enc_frame[16] = 0x1FF;
60 enc_frame[17] = 0x1F;
61 } 43 }
62 44
63 static int 45 static int
64 get_line() 46 get_line()
65 { 47 {