struct queuebuf_data: swap len with data to make sure data is 32-bit aligned

This commit is contained in:
Simon Duquennoy 2014-11-10 14:27:17 +01:00
parent 6ca95ebc0c
commit 494c397aba

View file

@ -77,8 +77,8 @@ struct queuebuf {
/* The actual queuebuf data */
struct queuebuf_data {
uint16_t len;
uint8_t data[PACKETBUF_SIZE];
uint16_t len;
struct packetbuf_attr attrs[PACKETBUF_NUM_ATTRS];
struct packetbuf_addr addrs[PACKETBUF_NUM_ADDRS];
};