aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32L1xx/UART
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32L1xx/UART')
-rw-r--r--testhal/STM32L1xx/UART/main.c3
-rw-r--r--testhal/STM32L1xx/UART/readme.txt2
2 files changed, 2 insertions, 3 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));
diff --git a/testhal/STM32L1xx/UART/readme.txt b/testhal/STM32L1xx/UART/readme.txt
index ac65242ac..2968b2288 100644
--- a/testhal/STM32L1xx/UART/readme.txt
+++ b/testhal/STM32L1xx/UART/readme.txt
@@ -1,5 +1,5 @@
*****************************************************************************
-** ChibiOS/RT HAL - UART driver demo for STM32F1xx. **
+** ChibiOS/RT HAL - UART driver demo for STM32L1xx. **
*****************************************************************************
** TARGET **