mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qualifier
Signed-off-by: zhaohaiyang1 <zhaohaiyang1@xiaomi.com>
This commit is contained in:
@@ -622,11 +622,11 @@ begin_packed_struct struct can_hdr_s
|
|||||||
} end_packed_struct;
|
} end_packed_struct;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
begin_packed_struct struct can_msg_s
|
struct can_msg_s
|
||||||
{
|
{
|
||||||
struct can_hdr_s cm_hdr; /* The CAN header */
|
struct can_hdr_s cm_hdr; /* The CAN header */
|
||||||
uint8_t cm_data[CAN_MAXDATALEN]; /* CAN message data (0-8 byte) */
|
uint8_t cm_data[CAN_MAXDATALEN]; /* CAN message data (0-8 byte) */
|
||||||
} end_packed_struct;
|
};
|
||||||
|
|
||||||
/* This structure defines a CAN message FIFO. */
|
/* This structure defines a CAN message FIFO. */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user