aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-03-18 18:35:59 -0400
committerbnewbold <bnewbold@robocracy.org>2010-03-18 18:35:59 -0400
commitb9dc0877500de4164f99acc7b269fbddfe5502d3 (patch)
treee4941301c0158e0feaf0b506050941af8e84bb9c
parentf045e25ac5290c97e89a1ebf25512ac642d25f17 (diff)
downloadlibrambutan-b9dc0877500de4164f99acc7b269fbddfe5502d3.tar.gz
librambutan-b9dc0877500de4164f99acc7b269fbddfe5502d3.zip
Configure port D correctly so that header pin 25 works; this may
have unintended consequences?
-rw-r--r--src/lib/gpio.c1
1 files changed, 1 insertions, 0 deletions
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);
}