Skip to content

Commit 0913fa4

Browse files
OceanfromXiaomixiaoxiang781216
authored andcommitted
nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qualifier
Signed-off-by: zhaohaiyang1 <[email protected]>
1 parent 0975436 commit 0913fa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/nuttx/can/can.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,11 +622,11 @@ begin_packed_struct struct can_hdr_s
622622
} end_packed_struct;
623623
#endif
624624

625-
begin_packed_struct struct can_msg_s
625+
struct can_msg_s
626626
{
627627
struct can_hdr_s cm_hdr; /* The CAN header */
628628
uint8_t cm_data[CAN_MAXDATALEN]; /* CAN message data (0-8 byte) */
629-
} end_packed_struct;
629+
};
630630

631631
/* This structure defines a CAN message FIFO. */
632632

0 commit comments

Comments
 (0)