diff --git a/src/devices/deltadore_x3d.c b/src/devices/deltadore_x3d.c index dbe9b1dfb..573306b13 100644 --- a/src/devices/deltadore_x3d.c +++ b/src/devices/deltadore_x3d.c @@ -174,12 +174,7 @@ struct deltadore_x3d_message_header { int16_t header_check; }; -#ifdef _MSC_VER -#pragma pack(push, 1) struct deltadore_x3d_message_payload { -#else -struct __attribute__((packed)) deltadore_x3d_message_payload { -#endif uint8_t retry; uint16_t transfer; uint16_t transfer_ack; @@ -189,9 +184,6 @@ struct __attribute__((packed)) deltadore_x3d_message_payload { uint8_t register_low; uint16_t target_ack; }; -#ifdef _MSC_VER -#pragma pack(pop) -#endif /* clang-format off */ static uint32_t deltadore_x3d_read_le_u24(uint8_t **buffer)