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

This commit is contained in:
liuguang 2018-03-16 17:22:55 +08:00
parent 5a2df50edd
commit 0dd4854dc7
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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__