mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/net/gnrc_lorawan: make clang happy
`clang` doesn't propagate the packed attribute to members. I think this incorrect, but explicitly adding it won't hurt and makes clang happy. So let's have it.
This commit is contained in:
parent
76347a83d7
commit
4709bbb952
@ -50,7 +50,7 @@ typedef struct __attribute__((packed)) {
|
|||||||
union {
|
union {
|
||||||
uint32_t u8_pad;
|
uint32_t u8_pad;
|
||||||
le_uint16_t conf_fcnt;
|
le_uint16_t conf_fcnt;
|
||||||
};
|
}__attribute__((packed));
|
||||||
uint8_t dir;
|
uint8_t dir;
|
||||||
le_uint32_t dev_addr;
|
le_uint32_t dev_addr;
|
||||||
le_uint32_t fcnt;
|
le_uint32_t fcnt;
|
||||||
|
Loading…
Reference in New Issue
Block a user