Skip to content

Commit ba377c6

Browse files
committed
Updated patch
1 parent f65cc89 commit ba377c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patch/hal_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ hal_uart_config(int port, int32_t baudrate, uint8_t databits, uint8_t stopbits,
465465
}
466466
#endif
467467

468-
//// TODO: Move this
468+
//// Patch at line 468 of hal_uart.c
469469
#if MYNEWT_VAL(UART_2_SWAP_TXRX)
470470
if (cfg->suc_uart == USART3) { cr2 |= USART_CR2_SWAP; } //// Swap TX/RX so that USART3 behaves like LPUART1
471471
#endif // UART_2_SWAP_TXRX

0 commit comments

Comments
 (0)