From 0dd4854dc795faf020463f99f08524a099277fe0 Mon Sep 17 00:00:00 2001 From: liuguang <1004383796@qq.com> Date: Fri, 16 Mar 2018 17:22:55 +0800 Subject: [PATCH] =?UTF-8?q?[BSP]=20fix=20uart=20driver=20bug.=20|=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=B2=E5=8F=A3=E9=A9=B1=E5=8A=A8BUG.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/imxrt1052-evk/drivers/usart.c | 4 ++-- bsp/imxrt1052-evk/drivers/usart.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/imxrt1052-evk/drivers/usart.c b/bsp/imxrt1052-evk/drivers/usart.c index 68c0f500e..65a480a19 100644 --- a/bsp/imxrt1052-evk/drivers/usart.c +++ b/bsp/imxrt1052-evk/drivers/usart.c @@ -18,7 +18,7 @@ #include "fsl_lpuart.h" #include "fsl_iomuxc.h" -#ifdef RT_USING_UART +#ifdef RT_USING_SERIAL #if !defined(RT_USING_UART0) && !defined(RT_USING_UART1) && \ !defined(RT_USING_UART2) && !defined(RT_USING_UART3) && \ @@ -380,4 +380,4 @@ int imxrt_hw_usart_init(void) } INIT_BOARD_EXPORT(imxrt_hw_usart_init); -#endif /*RT_USING_UART*/ +#endif /*RT_USING_SERIAL */ diff --git a/bsp/imxrt1052-evk/drivers/usart.h b/bsp/imxrt1052-evk/drivers/usart.h index abd7631fe..5cc02fb43 100644 --- a/bsp/imxrt1052-evk/drivers/usart.h +++ b/bsp/imxrt1052-evk/drivers/usart.h @@ -9,7 +9,7 @@ * * Change Logs: * Date Author Notes - * 2013-11-15 bright the first version + * 2017-10-10 Tanek the first version */ #ifndef __USART_H__