From b9dc0877500de4164f99acc7b269fbddfe5502d3 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 18 Mar 2010 18:35:59 -0400 Subject: Configure port D correctly so that header pin 25 works; this may have unintended consequences? --- src/lib/gpio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/lib/gpio.c b/src/lib/gpio.c index f03c4fa..facb514 100644 --- a/src/lib/gpio.c +++ b/src/lib/gpio.c @@ -32,6 +32,7 @@ void gpio_init(void) { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_APB2Periph_GPIOC | + RCC_APB2Periph_GPIOD | RCC_APB2Periph_AFIO, ENABLE); } -- cgit v1.2.3