Skip to content

Commit 8e19b0d

Browse files
committed
remove unnecessary else
1 parent 34466ae commit 8e19b0d

File tree

1 file changed

+2
-2
lines changed
  • FeatherCAN_CircuitPython/sender-ack

1 file changed

+2
-2
lines changed

FeatherCAN_CircuitPython/sender-ack/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
print(f"Received ACK: {ack_count}")
5757
received_ack_confirmed = True
5858
break
59-
else:
60-
print(f"Received incorrect ACK: {ack_count} should be {count}")
59+
60+
print(f"Received incorrect ACK: {ack_count} should be {count}")
6161

6262
if received_ack_confirmed:
6363
break

0 commit comments

Comments
 (0)