mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-20 10:35:34 +00:00
Merge pull request #861 from simonduq/queuebuf-field-order
Alignment of field `data` in queuebuf
This commit is contained in:
commit
cba5937bd3
@ -77,8 +77,8 @@ struct queuebuf {
|
|||||||
|
|
||||||
/* The actual queuebuf data */
|
/* The actual queuebuf data */
|
||||||
struct queuebuf_data {
|
struct queuebuf_data {
|
||||||
uint16_t len;
|
|
||||||
uint8_t data[PACKETBUF_SIZE];
|
uint8_t data[PACKETBUF_SIZE];
|
||||||
|
uint16_t len;
|
||||||
struct packetbuf_attr attrs[PACKETBUF_NUM_ATTRS];
|
struct packetbuf_attr attrs[PACKETBUF_NUM_ATTRS];
|
||||||
struct packetbuf_addr addrs[PACKETBUF_NUM_ADDRS];
|
struct packetbuf_addr addrs[PACKETBUF_NUM_ADDRS];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user