hal_uart: add some details

This commit is contained in:
KY-zhang-X
2022-09-29 11:55:58 +08:00
parent 7cc072bdab
commit affe5574ec

View File

@@ -20,6 +20,8 @@ __API__ int tos_hal_uart_init(hal_uart_t *uart, hal_uart_port_t port)
} else if (port == HAL_UART_PORT_3) {
uart->private_uart = &huart3;
MX_USART3_UART_Init();
} else {
return -1;
}
return 0;