From 8e4fd21b2b79a1f9f3c3601d6d344a9bfd4cc060 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 31 Jul 2010 06:46:17 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2099 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/uart.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'os/hal/src') diff --git a/os/hal/src/uart.c b/os/hal/src/uart.c index 9c200763f..4c1a2a55a 100644 --- a/os/hal/src/uart.c +++ b/os/hal/src/uart.c @@ -57,7 +57,7 @@ void uartInit(void) { /** * @brief Initializes the standard part of a @p UARTDriver structure. * - * @param[in] uartp pointer to the @p UARTDriver object + * @param[in] uartp pointer to the @p UARTDriver object */ void uartObjectInit(UARTDriver *uartp) { @@ -70,7 +70,7 @@ void uartObjectInit(UARTDriver *uartp) { /** * @brief Configures and activates the UART peripheral. * - * @param[in] uartp pointer to the @p UARTDriver object + * @param[in] uartp pointer to the @p UARTDriver object * @param[in] config pointer to the @p UARTConfig object */ void uartStart(UARTDriver *uartp, const UARTConfig *config) { @@ -92,7 +92,7 @@ void uartStart(UARTDriver *uartp, const UARTConfig *config) { /** * @brief Deactivates the UART peripheral. * - * @param[in] uartp pointer to the @p UARTDriver object + * @param[in] uartp pointer to the @p UARTDriver object */ void uartStop(UARTDriver *uartp) { @@ -163,13 +163,13 @@ void uartStartSendI(UARTDriver *uartp, size_t n, const void *txbuf) { * @brief Stops any ongoing transmission. * @note Stopping a transmission also suppresses the transmission callbacks. * - * @param[in] uartp pointer to the @p UARTDriver object + * @param[in] uartp pointer to the @p UARTDriver object */ void uartStopSend(UARTDriver *uartp) { chDbgCheck(uartp != NULL, "uartStopSend"); - chSysLock() + chSysLock(); chDbgAssert(uartp->ud_state == UART_READY, "uartStopSend(), #1", "not active"); @@ -186,7 +186,7 @@ void uartStopSend(UARTDriver *uartp) { * @note Stopping a transmission also suppresses the transmission callbacks. * @note This function has to be invoked from a lock zone. * - * @param[in] uartp pointer to the @p UARTDriver object + * @param[in] uartp pointer to the @p UARTDriver object */ void uartStopSendI(UARTDriver *uartp) { @@ -255,13 +255,13 @@ void uartStartReceiveI(UARTDriver *uartp, size_t n, void *rxbuf) { * @brief Stops any ongoing receive operation. * @note Stopping a receive operation also suppresses the receive callbacks. * - * @param[in] uartp pointer to the @p UARTDriver object + * @param[in] uartp pointer to the @p UARTDriver object */ void uartStopReceive(UARTDriver *uartp) { chDbgCheck(uartp != NULL, "uartStopReceive"); - chSysLock() + chSysLock(); chDbgAssert(uartp->ud_state == UART_READY, "uartStopReceive(), #1", "not active"); -- cgit v1.2.3