remove led blink and activate real code
authorOlivier Matz <zer0@droids-corp.org>
Thu, 23 May 2013 17:42:14 +0000 (19:42 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 23 May 2013 17:42:14 +0000 (19:42 +0200)
main.c

diff --git a/main.c b/main.c
index 6797250..1a9b01e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -369,13 +369,6 @@ int main(void)
        /* led and buzzer are outputs */
 #if defined(__AVR_ATtiny45__)
        DDRB |= (1 << LED_BIT) | (1 << BUZ_BIT);
-
-       while (1) {
-               PORTB |= (1 << LED_BIT);
-               wait_ms(500);
-               PORTB &= ~(1 << LED_BIT);
-               wait_ms(500);
-       }
 #endif
 
        i = 0;