add mcusleep set parameter to save energie
This commit is contained in:
parent
47760c57e6
commit
b7b3f0a33a
2 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ void setup (void)
|
||||||
rest_activate_resource (&res_battery, "s/battery");
|
rest_activate_resource (&res_battery, "s/battery");
|
||||||
|
|
||||||
// mcu_sleep_set(64);
|
// mcu_sleep_set(64);
|
||||||
|
mcu_sleep_set(48);
|
||||||
}
|
}
|
||||||
|
|
||||||
// at project-conf.h
|
// at project-conf.h
|
||||||
|
|
|
@ -34,6 +34,7 @@ void setup (void)
|
||||||
rest_activate_resource (&res_cputemp, "s/cputemp");
|
rest_activate_resource (&res_cputemp, "s/cputemp");
|
||||||
|
|
||||||
// NETSTACK_MAC.off(1);
|
// NETSTACK_MAC.off(1);
|
||||||
|
// mcu_sleep_set(48);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop (void)
|
void loop (void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue