optimize power consumtion
This commit is contained in:
parent
6a2d13216a
commit
c42a75d9d6
3 changed files with 10 additions and 5 deletions
|
@ -46,12 +46,10 @@ void setup (void)
|
|||
rest_activate_resource(&res_event, "s/button");
|
||||
// rest_activate_resource (&res_battery, "p/server");
|
||||
|
||||
NETSTACK_MAC.off(1);
|
||||
// NETSTACK_MAC.off(1);
|
||||
}
|
||||
|
||||
void loop (void)
|
||||
{
|
||||
mcu_sleep_off();
|
||||
|
||||
mcu_sleep_on();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue