From e7e79a6ccb4f3e320b2b8b7bad1b14d65218641d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 18 Mar 2011 18:38:08 +0000 Subject: License updated. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2827 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/UART/main.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'testhal/STM32/UART/main.c') 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"); -- cgit v1.2.3