diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-23 18:48:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-23 18:48:46 +0000 |
commit | 906c6a602167002ca0f2347ecbf4d00df1d187be (patch) | |
tree | b537734d4cb640a904dfcd7af5bf90a1b706984b /testhal/STM32F0xx | |
parent | 3a49e742c6a1f2875cc98053236b0c23936a7c45 (diff) | |
download | ChibiOS-906c6a602167002ca0f2347ecbf4d00df1d187be.tar.gz ChibiOS-906c6a602167002ca0f2347ecbf4d00df1d187be.tar.bz2 ChibiOS-906c6a602167002ca0f2347ecbf4d00df1d187be.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4336 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F0xx')
-rw-r--r-- | testhal/STM32F0xx/UART/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F0xx/UART/main.c b/testhal/STM32F0xx/UART/main.c index 7bb7a9fd2..1bf37190a 100644 --- a/testhal/STM32F0xx/UART/main.c +++ b/testhal/STM32F0xx/UART/main.c @@ -131,8 +131,8 @@ int main(void) { * Activates the serial driver 1, PA9 and PA10 are routed to USART1.
*/
uartStart(&UARTD1, &uart_cfg_1);
- palSetPadMode(GPIOC, 9, PAL_MODE_ALTERNATE(1)); /* USART1 TX. */
- palSetPadMode(GPIOC, 10, PAL_MODE_ALTERNATE(1)); /* USART1 RX. */
+ palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(1)); /* USART1 TX. */
+ palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(1)); /* USART1 RX. */
/*
* Starts the transmission, it will be handled entirely in background.
|