From: Jan "Yenya" Kasprzak Date: Sun, 30 Sep 2012 20:21:29 +0000 (+0200) Subject: gpio: port A/B fix X-Git-Tag: gerber-fab-20121029-1711~29 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=commitdiff_plain;h=fad7e8ad13a9c01c6740331376ded53b7e085242 gpio: port A/B fix --- diff --git a/firmware/gpio.c b/firmware/gpio.c index d759b18..d1efaaa 100644 --- a/firmware/gpio.c +++ b/firmware/gpio.c @@ -8,7 +8,7 @@ void gpio_init() PORTB &=~ (_BV(PB0) | _BV(PB2)); DDRA |= _BV(PA3) | _BV(PA4); // LED6, LED7 - PORTB &=~ (_BV(PA3) | _BV(PA4)); + PORTA &=~ (_BV(PA3) | _BV(PA4)); gpio_set(1, 1); }