diff --git a/include/nuttx/can.h b/include/nuttx/can.h index 1616681598..982a193106 100644 --- a/include/nuttx/can.h +++ b/include/nuttx/can.h @@ -326,7 +326,7 @@ struct can_frame uint8_t __pad; /* padding */ uint8_t __res0; /* reserved / padding */ uint8_t __res1; /* reserved / padding */ - uint8_t data[CAN_MAX_DLEN] aligned_data(8); + uint8_t data[CAN_MAX_DLEN]; }; /* struct canfd_frame - CAN flexible data rate frame structure @@ -345,7 +345,7 @@ struct canfd_frame uint8_t flags; /* additional flags for CAN FD */ uint8_t __res0; /* reserved / padding */ uint8_t __res1; /* reserved / padding */ - uint8_t data[CANFD_MAX_DLEN] aligned_data(8); + uint8_t data[CANFD_MAX_DLEN]; }; /* struct can_filter - CAN ID based filter in can_register().