add aligned attribute to liblte_bit_msg_struct to fix issues on ARM

master
Andre Puschmann 6 years ago
parent 3cddad79cc
commit 2645fb50b1

@ -102,7 +102,7 @@ typedef struct{
uint32 N_bits; uint32 N_bits;
uint8 header[LIBLTE_MSG_HEADER_OFFSET]; uint8 header[LIBLTE_MSG_HEADER_OFFSET];
uint8 msg[LIBLTE_MAX_MSG_SIZE_BITS]; uint8 msg[LIBLTE_MAX_MSG_SIZE_BITS];
}LIBLTE_BIT_MSG_STRUCT; }LIBLTE_BIT_MSG_STRUCT __attribute__ ((aligned (8)));
typedef struct{ typedef struct{
uint32 N_bytes; uint32 N_bytes;

Loading…
Cancel
Save