Skip to content

Commit 9912890

Browse files
committed
channel_id_t has to be packed for litteral cast
1 parent a60b706 commit 9912890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stack/modules/d7ap/phy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ typedef struct
108108
*
109109
* This struct adheres to the 'Channel ID' format the Dash7 PHY layer. (@17/03/2015)
110110
*/
111-
typedef struct
111+
typedef struct __attribute__((__packed__))
112112
{
113113
union
114114
{

0 commit comments

Comments
 (0)