Skip to content
Snippets Groups Projects
Commit 1c45c503 authored by Martine Lenders's avatar Martine Lenders
Browse files

netdev2: fix event_callback references

parent 7cc2a910
No related branches found
No related tags found
No related merge requests found
...@@ -133,7 +133,7 @@ typedef struct netdev2_driver { ...@@ -133,7 +133,7 @@ typedef struct netdev2_driver {
/** /**
* @brief Get a received frame * @brief Get a received frame
* *
* Supposed to be called from netdev2_event_handler(). * Supposed to be called from @ref netdev2_t::event_callback().
* *
* If buf == NULL and len == 0, returns the packet size without dropping it. * If buf == NULL and len == 0, returns the packet size without dropping it.
* If buf == NULL and len > 0, drops the packet and returns the packet size. * If buf == NULL and len > 0, drops the packet and returns the packet size.
...@@ -164,7 +164,7 @@ typedef struct netdev2_driver { ...@@ -164,7 +164,7 @@ typedef struct netdev2_driver {
* This function will be called from a network stack's loop when being notified * This function will be called from a network stack's loop when being notified
* by netdev2_isr. * by netdev2_isr.
* *
* It is supposed to call netdev2_event_handler for each occuring event. * It is supposed to call @ref netdev2_t::event_callback() for each occuring event.
* *
* See receive packet flow description for details. * See receive packet flow description for details.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment