diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-03-18 18:35:59 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-03-18 18:35:59 -0400 |
commit | b9dc0877500de4164f99acc7b269fbddfe5502d3 (patch) | |
tree | e4941301c0158e0feaf0b506050941af8e84bb9c /src | |
parent | f045e25ac5290c97e89a1ebf25512ac642d25f17 (diff) | |
download | librambutan-b9dc0877500de4164f99acc7b269fbddfe5502d3.tar.gz librambutan-b9dc0877500de4164f99acc7b269fbddfe5502d3.zip |
Configure port D correctly so that header pin 25 works; this may
have unintended consequences?
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/gpio.c | 1 |
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); } |