# HG changeset patch # User Mychaela Falconia # Date 1739407566 0 # Node ID 5452d6cd64b1b13fdb8c5df46ffa19312469eb06 # Parent 993cb9273f89bd50a919202fdba61fcdb02529f9 gsmhr-cod-craft: use gsmhr_set_sid_cw_params() function diff -r 993cb9273f89 -r 5452d6cd64b1 hrutil/cod-craft.c --- a/hrutil/cod-craft.c Thu Feb 13 00:41:21 2025 +0000 +++ b/hrutil/cod-craft.c Thu Feb 13 00:46:06 2025 +0000 @@ -39,25 +39,7 @@ static void set_sid_cw() { - /* Int_LPC and Mode */ - enc_frame[4] = 1; - enc_frame[5] = 3; - /* subframe 1 */ - enc_frame[6] = 0xFF; - enc_frame[7] = 0x1FF; - enc_frame[8] = 0x1F; - /* subframe 2 */ - enc_frame[9] = 0xF; - enc_frame[10] = 0x1FF; - enc_frame[11] = 0x1F; - /* subframe 3 */ - enc_frame[12] = 0xF; - enc_frame[13] = 0x1FF; - enc_frame[14] = 0x1F; - /* subframe 4 */ - enc_frame[15] = 0xF; - enc_frame[16] = 0x1FF; - enc_frame[17] = 0x1F; + gsmhr_set_sid_cw_params(enc_frame); } static int