Skip to content

Commit e730cf8

Browse files
Update src/rp2_common/pico_stdio_uart/stdio_uart.c
Co-authored-by: will-v-pi <[email protected]>
1 parent 7755582 commit e730cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rp2_common/pico_stdio_uart/stdio_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void stdio_uart_deinit_full(struct uart_inst *uart, int tx_pin, int rx_pin) {
131131
#if HAS_PADS_BANK0_ISOLATION
132132
// Leave pads isolated
133133
if (tx_pin >= 0) hw_set_bits(&pads_bank0_hw->io[tx_pin], PADS_BANK0_GPIO0_ISO_BITS);
134-
if (rx_pin >= 0) hw_set_bits(&pads_bank0_hw->io[rx_pin], PADS_BANK0_GPIO0_ISO_BITS);
134+
if (rx_pin >= 0) hw_set_bits(&pads_bank0_hw->io[rx_pin], PADS_BANK0_GPIO0_ISO_BITS);
135135
#else
136136
((void)tx_pin);
137137
((void)rx_pin);

0 commit comments

Comments
 (0)