Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
digant73 committed Sep 25, 2023
1 parent 3def09c commit b5eb8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TFT/src/User/Hal/gd32f20x/Serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void Serial_Config(uint8_t port, uint16_t cacheSizeRX, uint16_t cacheSizeTX, uin
dmaL1DataTX[port].cache = malloc(cacheSizeTX);
while (!dmaL1DataTX[port].cache); // malloc failed, blocking!

UART_Config(port, baudrate, USART_IT_IDLE, IDLE_LINE_IT); // configure serial line with or without IDLE Line interrupt
UART_Config(port, baudrate, USART_INT_IDLE, IDLE_LINE_IT); // configure serial line with or without IDLE Line interrupt
Serial_DMA_Config(port);
}

Expand Down

0 comments on commit b5eb8af

Please sign in to comment.