fix: command some line
parent
ce790d74b1
commit
03c4f12a70
|
|
@ -481,6 +481,8 @@ exit:
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
static xCoreStatus_t uart_init(McalUartHandle_s* pxUartHandle, McalUartBaudRate_e xBaud)
|
static xCoreStatus_t uart_init(McalUartHandle_s* pxUartHandle, McalUartBaudRate_e xBaud)
|
||||||
{
|
{
|
||||||
|
// DL_GPIO_initPeripheralOutputFunction(IOMUX_PINCM32, IOMUX_PINCM32_PF_UART2_TX);
|
||||||
|
// DL_GPIO_initPeripheralInputFunction(IOMUX_PINCM33, IOMUX_PINCM33_PF_UART2_RX);
|
||||||
|
|
||||||
// Get the UART instance based on the port number in the handle
|
// Get the UART instance based on the port number in the handle
|
||||||
UART_Regs* uart_inst = GetUartInstance(pxUartHandle->eUartPortNumber);
|
UART_Regs* uart_inst = GetUartInstance(pxUartHandle->eUartPortNumber);
|
||||||
|
|
|
||||||
|
|
@ -245,6 +245,8 @@ void xMCAL_McuInit()
|
||||||
// DL_SYSCTL_init();
|
// DL_SYSCTL_init();
|
||||||
// xMCAL_VrefInit();
|
// xMCAL_VrefInit();
|
||||||
SYSCFG_DL_initPower();
|
SYSCFG_DL_initPower();
|
||||||
|
// DL_UART_Main_reset(UART2);
|
||||||
|
// DL_UART_Main_enablePower(UART2);
|
||||||
SYSCFG_DL_GPIO_init();
|
SYSCFG_DL_GPIO_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue