Merge pull request #2427 from authmillenon/netapi/api/naming-fixup
netdev: unify msg type macro with msg type macros in netapi
This commit is contained in:
commit
c6777ffeed
@ -36,7 +36,7 @@ extern "C" {
|
||||
/**
|
||||
* @brief Type for @ref msg_t if device fired an event
|
||||
*/
|
||||
#define NG_NETDEV_MSG_EVENT_TYPE (0x0100)
|
||||
#define NG_NETDEV_MSG_TYPE_EVENT (0x0100)
|
||||
|
||||
/**
|
||||
* @brief Possible event types that are send from the device driver to the
|
||||
@ -122,7 +122,7 @@ typedef struct {
|
||||
* *value_len* is too small to store the option value
|
||||
*/
|
||||
int (*get)(ng_netdev_t *dev, ng_netconf_opt_t opt,
|
||||
void *value, size_t *value_len);
|
||||
void *value, size_t *value_len);
|
||||
|
||||
/**
|
||||
* @brief Set an option value for a given network device
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user