netdev_driver_t::recv: Fixed preconditions in doc
Removed the invalid precondition in netdev_driver_t::recv that the buffer never NULL and the length positive. (In the "get message size" case both is wrong, in the drop message case the first part is wrong.)
This commit is contained in:
parent
66e4532898
commit
b6069eb5f5
@ -313,7 +313,6 @@ typedef struct netdev_driver {
|
|||||||
* @brief Get a received frame
|
* @brief Get a received frame
|
||||||
*
|
*
|
||||||
* @pre `(dev != NULL)`
|
* @pre `(dev != NULL)`
|
||||||
* @pre `(buf != NULL) && (len > 0)`
|
|
||||||
*
|
*
|
||||||
* Supposed to be called from
|
* Supposed to be called from
|
||||||
* @ref netdev_t::event_callback "netdev->event_callback()"
|
* @ref netdev_t::event_callback "netdev->event_callback()"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user