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. */