Skip to content

Commit

Permalink
Merge pull request #20228 from benpicco/cc2538_get_eui64_primary
Browse files Browse the repository at this point in the history
cpu/cc2538: fix EUI provider
  • Loading branch information
maribu authored Jan 4, 2024
2 parents 9b3c39a + ecb1e57 commit 616b48d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cpu/cc2538/include/cc2538_eui_primary.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 616b48d

Please sign in to comment.