From fad7e8ad13a9c01c6740331376ded53b7e085242 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Sun, 30 Sep 2012 22:21:29 +0200 Subject: [PATCH] gpio: port A/B fix --- firmware/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.3