1.适配自动初始化。
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* 2023-04-23 MacRsh first version
|
||||
*/
|
||||
|
||||
#include <drv_uart.h>
|
||||
#include "drv_uart.h"
|
||||
|
||||
#undef LOG_TAG
|
||||
#define LOG_TAG "drv_uart"
|
||||
@@ -394,5 +394,6 @@ mr_err_t mr_hw_uart_init(void)
|
||||
|
||||
return MR_ERR_OK;
|
||||
}
|
||||
INIT_BOARD_EXPORT(mr_hw_uart_init);
|
||||
|
||||
#endif
|
||||
@@ -11,7 +11,7 @@
|
||||
#ifndef _DRV_UART_H_
|
||||
#define _DRV_UART_H_
|
||||
|
||||
#include <device/serial/serial.h>
|
||||
#include "device/serial/serial.h"
|
||||
|
||||
#if (MR_CONF_DEVICE_SERIAL == MR_CONF_ENABLE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user