1
0
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:
Marian Buschsieweke 2023-05-19 22:15:30 +02:00 committed by Marian Buschsieweke
parent 76347a83d7
commit 4709bbb952
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -50,7 +50,7 @@ typedef struct __attribute__((packed)) {
union {
uint32_t u8_pad;
le_uint16_t conf_fcnt;
};
}__attribute__((packed));
uint8_t dir;
le_uint32_t dev_addr;
le_uint32_t fcnt;