mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #20228 from benpicco/cc2538_get_eui64_primary
cpu/cc2538: fix EUI provider
This commit is contained in:
commit
616b48d354
@ -31,15 +31,13 @@ extern "C" {
|
||||
/**
|
||||
* @brief Get the primary (burned-in) EUI-64 of the device
|
||||
*
|
||||
* @param arg unused
|
||||
* @param[out] addr The EUI-64
|
||||
* @param index unused
|
||||
* @param[out] addr The EUI-64
|
||||
*
|
||||
* @return 0
|
||||
*/
|
||||
static inline int cc2538_get_eui64_primary(const void *arg, eui64_t *addr, uint8_t index)
|
||||
static inline int cc2538_get_eui64_primary(uint8_t index, eui64_t *addr)
|
||||
{
|
||||
(void)arg;
|
||||
(void)index;
|
||||
|
||||
/*
|
||||
|
@ -20,6 +20,7 @@
|
||||
#if __has_include("eui_provider_params.h")
|
||||
#include "eui_provider_params.h"
|
||||
#endif
|
||||
#include "board.h"
|
||||
#include "net/eui_provider.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user