Skip to content

Commit 9bb689a

Browse files
committed
removed debug value, formatting
1 parent 6be8333 commit 9bb689a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/drivers/serial_uart_hal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ static void uartReconfigure(uartPort_t *uartPort)
8787

8888
usartConfigurePinInversion(uartPort);
8989

90-
if (uartPort->port.options & SERIAL_RXTX_SWAP) {
91-
debug[0] = 1;
90+
if (uartPort->port.options & SERIAL_RXTX_SWAP)
91+
{
9292
SET_BIT(uartPort->USARTx->CR2, USART_CR2_SWAP);
9393
}
9494

0 commit comments

Comments
 (0)