1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

drivers/kw2xrf: fix fall through

This was made visible by #7919. Broke build on GCC 7.2.

Probably a bug.
This commit is contained in:
Tristan Bruns 2017-12-01 11:20:07 +01:00
parent a7e7f0305c
commit 19f6544466

View File

@ -197,6 +197,7 @@ static int _set_state(kw2xrf_t *dev, netopt_state_t state)
case NETOPT_STATE_OFF:
/* TODO: Replace with powerdown (set reset input low) */
kw2xrf_set_power_mode(dev, KW2XRF_HIBERNATE);
break;
default:
return -ENOTSUP;
}