projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ea0de
)
AVR32: Fix wrong pin setup for USART3
author
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Thu, 15 Nov 2007 09:03:45 +0000
(10:03 +0100)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 17 Dec 2007 09:35:02 +0000
(10:35 +0100)
As reported by Gerhard Berghofer:
in "gpio_enable_usart3" the correct pins for USART 3 are PB17 and PB18
instead of PB18 and PB19.
which is obviously correct. There's currently no code that uses
USART3, but custom boards may run into problems.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
cpu/at32ap/at32ap700x/gpio.c
patch
|
blob
|
history
diff --git
a/cpu/at32ap/at32ap700x/gpio.c
b/cpu/at32ap/at32ap700x/gpio.c
index 2d53726b040d0ef65cb6494025d1187f1e339377..859124a91f6b8b4e1c7c80094bb3245750beaa3f 100644
(file)
--- a/
cpu/at32ap/at32ap700x/gpio.c
+++ b/
cpu/at32ap/at32ap700x/gpio.c
@@
-74,8
+74,8
@@
void gpio_enable_usart2(void)
void gpio_enable_usart3(void)
{
+ gpio_select_periph_B(GPIO_PIN_PB17, 0);
gpio_select_periph_B(GPIO_PIN_PB18, 0);
- gpio_select_periph_B(GPIO_PIN_PB19, 0);
}
#endif