aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/octoclock/include/net/eth_mac_addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/octoclock/include/net/eth_mac_addr.h')
-rw-r--r--firmware/octoclock/include/net/eth_mac_addr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/octoclock/include/net/eth_mac_addr.h b/firmware/octoclock/include/net/eth_mac_addr.h
index 0c790aa4f..78986bf04 100644
--- a/firmware/octoclock/include/net/eth_mac_addr.h
+++ b/firmware/octoclock/include/net/eth_mac_addr.h
@@ -21,11 +21,8 @@
#include <stdint.h>
// Ethernet MAC address
-
-#pragma pack(push,1)
typedef struct {
uint8_t addr[6];
-} eth_mac_addr_t;
-#pragma pack(pop)
+} eth_mac_addr_t __attribute__((aligned(1)));
#endif /* INCLUDED_ETH_MAC_ADDR_H */