Changed uX, uX_t sX, sX_t to uinX_t
Cleaned some PDCP/driver code types parameters and vars Please see openair2/COMMON/platform_types.h for simple coding rules. please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -125,9 +125,9 @@ int lte_segmentation(unsigned char *input_buffer,
|
||||
|
||||
if (*C > 1) { // add CRC
|
||||
crc = crc24b(output_buffers[r],Kr-24)>>8;
|
||||
output_buffers[r][(Kr-24)>>3] = ((u8*)&crc)[2];
|
||||
output_buffers[r][1+((Kr-24)>>3)] = ((u8*)&crc)[1];
|
||||
output_buffers[r][2+((Kr-24)>>3)] = ((u8*)&crc)[0];
|
||||
output_buffers[r][(Kr-24)>>3] = ((uint8_t*)&crc)[2];
|
||||
output_buffers[r][1+((Kr-24)>>3)] = ((uint8_t*)&crc)[1];
|
||||
output_buffers[r][2+((Kr-24)>>3)] = ((uint8_t*)&crc)[0];
|
||||
#ifdef DEBUG_SEGMENTATION
|
||||
printf("Segment %d : CRC %x\n",r,crc);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user