From ba617778ee01eaf7d0ed64709a472f082839c923 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 14 Jun 2011 00:28:16 +0200 Subject: src/common: stop led display when button is pressed --- src/binwatch/counter.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/binwatch/counter.c') 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) { -- cgit v1.2.3