See https://github.com/RIOT-OS/RIOT/issues/2927 It's not yet been developed fully, those are just place holders. I have proposed to use a more dynamic scheme for the LPM modes.
Best regards, Joakim www.eistec.se On May 9, 2015 6:40 PM, "Frank Holtz" <frank-riot2...@holtznet.de> wrote: > Hello, > > why is LPM_SLEEP or LPM_POWERDOWN is commented out? > > kernel_init.c: > ----------------------------------------------- > static void *idle_thread(void *arg) > { > (void) arg; > > while (1) { > if (lpm_prevent_sleep) { > lpm_set(LPM_IDLE); > } > else { > lpm_set(LPM_IDLE); > /* lpm_set(LPM_SLEEP); */ > /* lpm_set(LPM_POWERDOWN); */ > } > } > > return NULL; > } > ----------------------------------------------- > > _______________________________________________ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel