mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-30 23:14:00 +01:00 
			
		
		
		
	Add missing if braces in decode_chan_alloc
This commit is contained in:
		
							parent
							
								
									2d9bf16066
								
							
						
					
					
						commit
						095e7bd8aa
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -93,8 +93,10 @@ static int decode_chan_alloc(struct tetra_chan_alloc_decoded *cad, const uint8_t | ||||||
| 		cad->ext_carr.reverse_oper =	bits_to_uint(cur, 1); cur += 1; | 		cad->ext_carr.reverse_oper =	bits_to_uint(cur, 1); cur += 1; | ||||||
| 	} | 	} | ||||||
| 	cad->monit_pattern =	bits_to_uint(cur, 2); cur += 2; | 	cad->monit_pattern =	bits_to_uint(cur, 2); cur += 2; | ||||||
| 	if (cad->monit_pattern == 0) | 	if (cad->monit_pattern == 0) { | ||||||
| 		cad->monit_patt_f18 =	bits_to_uint(cur, 2); cur += 2; | 		cad->monit_patt_f18 =	bits_to_uint(cur, 2); | ||||||
|  | 		cur += 2; | ||||||
|  | 	} | ||||||
| 	if (cad->ul_dl == 0) { | 	if (cad->ul_dl == 0) { | ||||||
| 		cad->aug.ul_dl_ass =	bits_to_uint(cur, 2); cur += 2; | 		cad->aug.ul_dl_ass =	bits_to_uint(cur, 2); cur += 2; | ||||||
| 		cad->aug.bandwidth =	bits_to_uint(cur, 3); cur += 3; | 		cad->aug.bandwidth =	bits_to_uint(cur, 3); cur += 3; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gregor Gregoric
						Gregor Gregoric