1.适配自动初始化。

This commit is contained in:
MacRsh
2023-05-15 09:49:39 +08:00
parent 9bf63edf73
commit c852d76bd5
2 changed files with 3 additions and 2 deletions

View File

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

View File

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