summaryrefslogtreecommitdiff
path: root/src/binwatch/counter.c
diff options
context:
space:
mode:
authorNicolas Schodet2011-09-26 19:35:24 +0200
committerNicolas Schodet2011-09-26 19:41:34 +0200
commit83f4265644321022cce13d0e4f5a5f5335a4d7a9 (patch)
tree85cfdaa03745a2ab6b301cc20c1a35e5a9ace998 /src/binwatch/counter.c
parent38b4a4d5ca0f30a5e058de2a99436df187a46f52 (diff)
src/binwatch, src/common: add power reduction and sleep when waiting button
Diffstat (limited to 'src/binwatch/counter.c')
-rw-r--r--src/binwatch/counter.c2
1 files changed, 2 insertions, 0 deletions
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;