mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
boards/same54-xpro: lock EUI provider to ethernet interface
Otherwise the provider can be used for multiple interfaces but only return a single MAC address for all of them.
This commit is contained in:
parent
3ad85a380c
commit
c161fd8dbf
@ -38,6 +38,9 @@ static inline int _at24mac_get_eui48(uint8_t index, eui48_t *addr)
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define EUI48_PROVIDER_FUNC _at24mac_get_eui48
|
#define EUI48_PROVIDER_FUNC _at24mac_get_eui48
|
||||||
|
#ifndef EUI48_PROVIDER_TYPE
|
||||||
|
#define EUI48_PROVIDER_TYPE NETDEV_SAM0_ETH
|
||||||
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user