aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32L1xx/UART/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-23 19:58:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-23 19:58:04 +0000
commit4286b14a9e6d82823c8e5c759495575b1b7fa5ef (patch)
tree95b7b32d5c28daf3c564dce1b7e4d5ad913c9359 /testhal/STM32L1xx/UART/main.c
parente241378765ef67e3c804753a54a30e1e6b4431e3 (diff)
downloadChibiOS-4286b14a9e6d82823c8e5c759495575b1b7fa5ef.tar.gz
ChibiOS-4286b14a9e6d82823c8e5c759495575b1b7fa5ef.tar.bz2
ChibiOS-4286b14a9e6d82823c8e5c759495575b1b7fa5ef.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3520 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32L1xx/UART/main.c')
-rw-r--r--testhal/STM32L1xx/UART/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testhal/STM32L1xx/UART/main.c b/testhal/STM32L1xx/UART/main.c
index 30f4c3326..ce1804f2e 100644
--- a/testhal/STM32L1xx/UART/main.c
+++ b/testhal/STM32L1xx/UART/main.c
@@ -125,8 +125,7 @@ int main(void) {
chSysInit();
/*
- * Activates the serial driver 2 using the driver default configuration.
- * PA9 and PA10 are routed to USART1.
+ * Activates the serial driver 1, PA9 and PA10 are routed to USART1.
*/
uartStart(&UARTD1, &uart_cfg_1);
palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));