Skip to content
Snippets Groups Projects
Commit 19f65444 authored by Tristan Bruns's avatar Tristan Bruns
Browse files

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
...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment