Skip to content

Commit 108f46f

Browse files
committed
fix: [-Waddress-of-packed-member] warning
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 4d9fd31 commit 108f46f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utility/STM32Cube_FW/stm_list.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020

2121
#ifndef _STM_LIST_H_
2222
#define _STM_LIST_H_
23+
#include "stm32_wpan_common.h"
2324

2425
/* Includes ------------------------------------------------------------------*/
2526
#include "stdint.h"
2627
#include "stdbool.h"
2728

28-
typedef struct _tListNode {
29+
typedef PACKED_STRUCT _tListNode {
2930
struct _tListNode * next;
3031
struct _tListNode * prev;
3132
} tListNode;

0 commit comments

Comments
 (0)