Skip to content

Commit

Permalink
nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qua…
Browse files Browse the repository at this point in the history
…lifier

Signed-off-by: zhaohaiyang1 <[email protected]>
  • Loading branch information
OceanfromXiaomi authored and xiaoxiang781216 committed Dec 16, 2024
1 parent 0975436 commit 0913fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/nuttx/can/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */

Expand Down

0 comments on commit 0913fa4

Please sign in to comment.