Skip to content
Snippets Groups Projects
Commit 7e4d13c2 authored by Martine Lenders's avatar Martine Lenders
Browse files

eui48: fix type alignment

parent 4c4087ce
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,8 @@ extern "C" {
/**
* @brief Data type to represent an EUI-48
*/
typedef union {
typedef struct {
uint8_t uint8[6]; /**< split into 6 8-bit words. */
network_uint16_t uint16[3]; /**< split into 3 16-bit words. */
} eui48_t;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment