mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
Merge pull request #1774 from authmillenon/netdev-opt-max
netdev: Provide maximum value of netdev_opt_t for further definitions
This commit is contained in:
commit
f384bc1cc9
@ -101,6 +101,15 @@ typedef enum {
|
|||||||
signed value in host byte order */
|
signed value in host byte order */
|
||||||
NETDEV_OPT_MAX_PACKET_SIZE, /**< Maximum packet size the device supports
|
NETDEV_OPT_MAX_PACKET_SIZE, /**< Maximum packet size the device supports
|
||||||
unsigned value in host byte order */
|
unsigned value in host byte order */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Last value for @netdev_opt_t defined here
|
||||||
|
*
|
||||||
|
* @detail Specific devices or modules like @ref netapi that utilize these
|
||||||
|
* values to may define higher values, but they must be greater
|
||||||
|
* or equal to @ref NETDEV_OPT_LAST.
|
||||||
|
*/
|
||||||
|
NETDEV_OPT_LAST,
|
||||||
} netdev_opt_t;
|
} netdev_opt_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user