提交 0dd4854d 编写于 作者: L liuguang

[BSP] fix uart driver bug. | 修复串口驱动BUG.

上级 5a2df50e
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "fsl_lpuart.h" #include "fsl_lpuart.h"
#include "fsl_iomuxc.h" #include "fsl_iomuxc.h"
#ifdef RT_USING_UART #ifdef RT_USING_SERIAL
#if !defined(RT_USING_UART0) && !defined(RT_USING_UART1) && \ #if !defined(RT_USING_UART0) && !defined(RT_USING_UART1) && \
!defined(RT_USING_UART2) && !defined(RT_USING_UART3) && \ !defined(RT_USING_UART2) && !defined(RT_USING_UART3) && \
...@@ -380,4 +380,4 @@ int imxrt_hw_usart_init(void) ...@@ -380,4 +380,4 @@ int imxrt_hw_usart_init(void)
} }
INIT_BOARD_EXPORT(imxrt_hw_usart_init); INIT_BOARD_EXPORT(imxrt_hw_usart_init);
#endif /*RT_USING_UART*/ #endif /*RT_USING_SERIAL */
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2013-11-15 bright the first version * 2017-10-10 Tanek the first version
*/ */
#ifndef __USART_H__ #ifndef __USART_H__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册