netdev: move definition of NETDEV_INDEX_ANY to netdev

This commit is contained in:
Benjamin Valentin 2020-09-29 19:04:06 +02:00 committed by Benjamin Valentin
parent 333fce44b4
commit eb199d4c78
2 changed files with 5 additions and 5 deletions

View File

@ -291,6 +291,11 @@ typedef enum {
} netdev_type_t; } netdev_type_t;
/** @} */ /** @} */
/**
* @brief Will match any device index
*/
#define NETDEV_INDEX_ANY (0xFF)
/** /**
* @brief Structure to hold driver state * @brief Structure to hold driver state
* *

View File

@ -103,11 +103,6 @@
extern "C" { extern "C" {
#endif #endif
/**
* @brief Will match any device index
*/
#define NETDEV_INDEX_ANY (0xFF)
/** /**
* @brief Function for providing a EUI-48 to a device * @brief Function for providing a EUI-48 to a device
* *