Merge pull request #861 from simonduq/queuebuf-field-order

Alignment of field `data` in queuebuf
This commit is contained in:
Nicolas Tsiftes 2014-11-18 08:38:23 +01:00
commit cba5937bd3

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];
};