aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/UART/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/UART/main.c')
-rw-r--r--testhal/STM32/UART/main.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/testhal/STM32/UART/main.c b/testhal/STM32/UART/main.c
index f672cfb1a..924338a77 100644
--- a/testhal/STM32/UART/main.c
+++ b/testhal/STM32/UART/main.c
@@ -1,5 +1,6 @@
/*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -38,7 +39,7 @@ static void ledoff(void *p) {
/*
* This callback is invoked when a transmission buffer has been completely
- * read by the driver.
+ * read by the driver.
*/
static void txend1(UARTDriver *uartp) {
@@ -47,7 +48,7 @@ static void txend1(UARTDriver *uartp) {
}
/*
- * This callback is invoked when a transmission has phisically completed.
+ * This callback is invoked when a transmission has phisically completed.
*/
static void txend2(UARTDriver *uartp) {
@@ -62,7 +63,7 @@ static void txend2(UARTDriver *uartp) {
/*
* This callback is invoked on a receive error, the errors mask is passed
- * as parameter.
+ * as parameter.
*/
static void rxerr(UARTDriver *uartp, uartflags_t e) {
@@ -72,7 +73,7 @@ static void rxerr(UARTDriver *uartp, uartflags_t e) {
/*
* This callback is invoked when a character is received but the application
- * was not ready to receive it, the character is passed as parameter.
+ * was not ready to receive it, the character is passed as parameter.
*/
static void rxchar(UARTDriver *uartp, uint16_t c) {
@@ -88,7 +89,7 @@ static void rxchar(UARTDriver *uartp, uint16_t c) {
}
/*
- * This callback is invoked when a receive buffer has been completely written.
+ * This callback is invoked when a receive buffer has been completely written.
*/
static void rxend(UARTDriver *uartp) {
@@ -96,7 +97,7 @@ static void rxend(UARTDriver *uartp) {
}
/*
- * UART driver configuration structure.
+ * UART driver configuration structure.
*/
static UARTConfig uart_cfg_1 = {
txend1,
@@ -131,7 +132,7 @@ int main(void) {
uartStart(&UARTD2, &uart_cfg_1);
/*
- * Starts the transmission, it will be handled entirely in background.
+ * Starts the transmission, it will be handled entirely in background.
*/
uartStartSend(&UARTD2, 13, "Starting...\r\n");