Skip to content
Snippets Groups Projects
Unverified Commit c2cda285 authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by GitHub
Browse files

Merge pull request #10820 from miri64/eui48/fix/type-alignment

eui48: fix type alignment
parents a78f357b 7e4d13c2
No related branches found
No related tags found
No related merge requests found
...@@ -32,9 +32,8 @@ extern "C" { ...@@ -32,9 +32,8 @@ extern "C" {
/** /**
* @brief Data type to represent an EUI-48 * @brief Data type to represent an EUI-48
*/ */
typedef union { typedef struct {
uint8_t uint8[6]; /**< split into 6 8-bit words. */ uint8_t uint8[6]; /**< split into 6 8-bit words. */
network_uint16_t uint16[3]; /**< split into 3 16-bit words. */
} eui48_t; } eui48_t;
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment