From b7b3f0a33aa557c9611ba029a1fa9c10736ff54c Mon Sep 17 00:00:00 2001 From: Harald Pichler Date: Wed, 19 Oct 2016 08:32:21 +0200 Subject: [PATCH] add mcusleep set parameter to save energie --- examples/osd/arduino-htu21/sketch.pde | 1 + examples/osd/arduino-merkurboard/sketch.pde | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/osd/arduino-htu21/sketch.pde b/examples/osd/arduino-htu21/sketch.pde index 54ebfcaf6..610379f92 100644 --- a/examples/osd/arduino-htu21/sketch.pde +++ b/examples/osd/arduino-htu21/sketch.pde @@ -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 diff --git a/examples/osd/arduino-merkurboard/sketch.pde b/examples/osd/arduino-merkurboard/sketch.pde index 41df5a847..b1acb9318 100644 --- a/examples/osd/arduino-merkurboard/sketch.pde +++ b/examples/osd/arduino-merkurboard/sketch.pde @@ -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)