Skip to content
Snippets Groups Projects
Commit da85094b authored by Juan Carrano's avatar Juan Carrano
Browse files

cpu/saml21: Fix possibly uninitialized variable in pm.c.

parent ec5ca98b
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ void pm_set(unsigned mode)
DEBUG("pm_set(): setting STANDBY mode.\n");
_mode = PM_SLEEPCFG_SLEEPMODE_STANDBY;
break;
default: /* Falls through */
case 2:
DEBUG("pm_set(): setting IDLE mode.\n");
_mode = PM_SLEEPCFG_SLEEPMODE_IDLE2;
......
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