1
0
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:
Marian Buschsieweke 2024-01-04 14:30:19 +00:00 committed by GitHub
commit 616b48d354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -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