1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

eui48: fix type alignment

This commit is contained in:
Martine Lenders 2019-01-18 17:01:57 +01:00
parent 4c4087cef2
commit 7e4d13c2be

View File

@ -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;
/**