1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +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:
Benjamin Valentin 2021-06-03 14:32:47 +02:00
parent 3ad85a380c
commit c161fd8dbf

View File

@ -38,6 +38,9 @@ static inline int _at24mac_get_eui48(uint8_t index, eui48_t *addr)
* @{
*/
#define EUI48_PROVIDER_FUNC _at24mac_get_eui48
#ifndef EUI48_PROVIDER_TYPE
#define EUI48_PROVIDER_TYPE NETDEV_SAM0_ETH
#endif
/** @} */
#ifdef __cplusplus