Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
1c45c503
Commit
1c45c503
authored
9 years ago
by
Martine Lenders
Browse files
Options
Downloads
Patches
Plain Diff
netdev2: fix event_callback references
parent
7cc2a910
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/include/net/netdev2.h
+2
-2
2 additions, 2 deletions
drivers/include/net/netdev2.h
with
2 additions
and
2 deletions
drivers/include/net/netdev2.h
+
2
−
2
View file @
1c45c503
...
@@ -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.
*
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment