[BSP] fix uart driver bug. | 修复串口驱动BUG.
This commit is contained in:
parent
5a2df50edd
commit
0dd4854dc7
|
@ -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)
|
||||||
}
|
}
|
||||||
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 @@
|
||||||
*
|
*
|
||||||
* 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__
|
||||||
|
|
Loading…
Reference in New Issue