stm32f7/stm32_serial.c: fix console re-initialisation if DMA enabled
This commit is contained in:
parent
1ce75cc7c6
commit
9dadfc5cc3
@ -3661,7 +3661,7 @@ void arm_serialinit(void)
|
||||
minor = 1;
|
||||
#endif
|
||||
|
||||
#ifdef SERIAL_HAVE_CONSOLE_DMA
|
||||
#if defined(SERIAL_HAVE_CONSOLE_RXDMA) || defined(SERIAL_HAVE_CONSOLE_TXDMA)
|
||||
/* If we need to re-initialise the console to enable DMA do that here. */
|
||||
|
||||
up_dma_setup(&g_uart_devs[CONSOLE_UART - 1]->dev);
|
||||
|
Loading…
Reference in New Issue
Block a user