From 1b7573aa1637c2b6cd42f3803d6684426a374788 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 21 Aug 2009 09:54:40 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1096 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/io/platforms/LPC214x/serial_lld.c | 4 ++-- os/io/platforms/LPC214x/serial_lld.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/os/io/platforms/LPC214x/serial_lld.c b/os/io/platforms/LPC214x/serial_lld.c index 8c76a4352..88fd99f42 100644 --- a/os/io/platforms/LPC214x/serial_lld.c +++ b/os/io/platforms/LPC214x/serial_lld.c @@ -89,7 +89,7 @@ void uart_deinit(UART *u) { /** * @brief Error handling routine. * @param[in] err UART LSR register value - * @param[in] sdp communication channel associated to the USART + * @param[in] sdp communication channel associated to the UART */ static void set_error(IOREG32 err, SerialDriver *sdp) { sdflags_t sts = 0; @@ -309,7 +309,7 @@ void sd_lld_start(SerialDriver *sdp, const SerialDriverConfig *config) { /** * @brief Low level serial driver stop. - * @details De-initializes the USART, stops the associated clock, resets the + * @details De-initializes the UART, stops the associated clock, resets the * interrupt vector. * * @param[in] sdp pointer to a @p SerialDriver object diff --git a/os/io/platforms/LPC214x/serial_lld.h b/os/io/platforms/LPC214x/serial_lld.h index b576a3e6e..04328e64b 100644 --- a/os/io/platforms/LPC214x/serial_lld.h +++ b/os/io/platforms/LPC214x/serial_lld.h @@ -146,7 +146,7 @@ struct _serial_driver_data { * initializers. */ typedef struct { - uint32_t baud_rate; + uint32_t speed; uint32_t lcr; uint32_t fcr; } SerialDriverConfig;