struct queuebuf_data: swap len with data to make sure data is 32-bit aligned
This commit is contained in:
parent
6ca95ebc0c
commit
494c397aba
@ -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];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user