From bb7562c380bf1119dede07d2c322ad677f755d25 Mon Sep 17 00:00:00 2001 From: zhaohaiyang1 Date: Mon, 16 Dec 2024 16:22:49 +0800 Subject: [PATCH] nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qualifier Signed-off-by: zhaohaiyang1 --- include/nuttx/can/can.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/can/can.h b/include/nuttx/can/can.h index dc544c3299..9718f6d9b7 100644 --- a/include/nuttx/can/can.h +++ b/include/nuttx/can/can.h @@ -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. */