Skip to content

Commit 4f70b26

Browse files
committed
Linted
1 parent bc30365 commit 4f70b26

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • CircuitPython_Quick_Starts/UART_Test_Script

CircuitPython_Quick_Starts/UART_Test_Script/code.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def get_unique_pins():
3131
for rx_pin in get_unique_pins():
3232
if rx_pin is tx_pin:
3333
continue
34+
if is_hardware_UART(tx_pin, rx_pin):
35+
print("RX pin:", rx_pin, "\t TX pin:", tx_pin)
3436
else:
35-
if is_hardware_UART(tx_pin, rx_pin):
36-
print("RX pin:", rx_pin, "\t TX pin:", tx_pin)
37-
else:
38-
pass
37+
pass

0 commit comments

Comments
 (0)