summaryrefslogtreecommitdiff
path: root/src/binwatch/counter.c
diff options
context:
space:
mode:
authorNicolas Schodet2011-06-14 00:28:16 +0200
committerNicolas Schodet2011-09-26 19:40:54 +0200
commitba617778ee01eaf7d0ed64709a472f082839c923 (patch)
tree5b65baeb20476bc4b5b1aacc533efb44980812b0 /src/binwatch/counter.c
parente428c4205e7727213b4a8a5115b7aadd07bd0b0b (diff)
src/common: stop led display when button is pressed
Diffstat (limited to 'src/binwatch/counter.c')
-rw-r--r--src/binwatch/counter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binwatch/counter.c b/src/binwatch/counter.c
index fe1bd1f..71f9ba5 100644
--- a/src/binwatch/counter.c
+++ b/src/binwatch/counter.c
@@ -23,10 +23,13 @@
* }}} */
#include "common.h"
#include "common/led.h"
+#include "common/button.h"
int
main (void)
{
+ led_init ();
+ button_init ();
uint16_t i;
while (1)
{