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
19f65444
Commit
19f65444
authored
7 years ago
by
Tristan Bruns
Browse files
Options
Downloads
Patches
Plain Diff
drivers/kw2xrf: fix fall through
This was made visible by #7919. Broke build on GCC 7.2. Probably a bug.
parent
a7e7f030
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/kw2xrf/kw2xrf_netdev.c
+1
-0
1 addition, 0 deletions
drivers/kw2xrf/kw2xrf_netdev.c
with
1 addition
and
0 deletions
drivers/kw2xrf/kw2xrf_netdev.c
+
1
−
0
View file @
19f65444
...
@@ -197,6 +197,7 @@ static int _set_state(kw2xrf_t *dev, netopt_state_t state)
...
@@ -197,6 +197,7 @@ static int _set_state(kw2xrf_t *dev, netopt_state_t state)
case
NETOPT_STATE_OFF
:
case
NETOPT_STATE_OFF
:
/* TODO: Replace with powerdown (set reset input low) */
/* TODO: Replace with powerdown (set reset input low) */
kw2xrf_set_power_mode
(
dev
,
KW2XRF_HIBERNATE
);
kw2xrf_set_power_mode
(
dev
,
KW2XRF_HIBERNATE
);
break
;
default:
default:
return
-
ENOTSUP
;
return
-
ENOTSUP
;
}
}
...
...
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