]> www.fi.muni.cz Git - bike-lights.git/blobdiff - gpio.c
misc debugging
[bike-lights.git] / gpio.c
diff --git a/gpio.c b/gpio.c
index e0f58b9647c63b597760b71b18e9943d5ff56a69..2ee32109d754360434afc6ec0ed3d5c3a8269592 100644 (file)
--- a/gpio.c
+++ b/gpio.c
@@ -6,6 +6,8 @@ void gpio_init()
 {
        DDRB |= _BV(PB2) | _BV(PB4);
        PORTB &=~ (_BV(PB2) | _BV(PB4));
+
+       gpio_set(GPIO_LED2, 1);
 }
 
 void gpio_set(unsigned char n, unsigned char on)