Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/cc2538: fix EUI provider #20228

Merged
merged 2 commits into from
Jan 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
cpu/cc2538: update function signature of EUI provider
  • Loading branch information
benpicco committed Jan 4, 2024
commit 94ad4d7ba375b5db2225dbc0df7e392425c56f92
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