Question
how to align a char table to 32bit boundry
Posted on February 09, 2018 at 01:51
How can I force a char array to align 4 ?
//align 4;
char LoRaTxFrames[8][64]; char LoRaRxFrames[8][64];is this a correct method ?
char LoRaTxFrames[8][64]; __attribute__((packed, aligned(4))) char LoRaRxFrames[8][64]; __attribute__((packed, aligned(4)))#alignment