add mcusleep set parameter to save energie

This commit is contained in:
Harald Pichler 2016-10-19 08:32:21 +02:00
parent 47760c57e6
commit b7b3f0a33a
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@ void setup (void)
rest_activate_resource (&res_battery, "s/battery");
// mcu_sleep_set(64);
mcu_sleep_set(48);
}
// at project-conf.h

View file

@ -34,6 +34,7 @@ void setup (void)
rest_activate_resource (&res_cputemp, "s/cputemp");
// NETSTACK_MAC.off(1);
// mcu_sleep_set(48);
}
void loop (void)