From 83f4265644321022cce13d0e4f5a5f5335a4d7a9 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 26 Sep 2011 19:35:24 +0200 Subject: src/binwatch, src/common: add power reduction and sleep when waiting button --- src/binwatch/counter.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/binwatch/counter.c') diff --git a/src/binwatch/counter.c b/src/binwatch/counter.c index 71f9ba5..ff72c0d 100644 --- a/src/binwatch/counter.c +++ b/src/binwatch/counter.c @@ -24,10 +24,12 @@ #include "common.h" #include "common/led.h" #include "common/button.h" +#include "common/power.h" int main (void) { + power_init (); led_init (); button_init (); uint16_t i; -- cgit v1.2.3