nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qualifier

Signed-off-by: zhaohaiyang1 <zhaohaiyang1@xiaomi.com>
This commit is contained in:
zhaohaiyang1 2024-12-16 16:22:49 +08:00 committed by Xiang Xiao
parent 63a9e1ff89
commit bb7562c380

View file

@ -622,11 +622,11 @@ begin_packed_struct struct can_hdr_s
} end_packed_struct;
#endif
begin_packed_struct struct can_msg_s
struct can_msg_s
{
struct can_hdr_s cm_hdr; /* The CAN header */
uint8_t cm_data[CAN_MAXDATALEN]; /* CAN message data (0-8 byte) */
} end_packed_struct;
};
/* This structure defines a CAN message FIFO. */