Skip to content

Commit 8179adc

Browse files
Bongjun Hurgamblor21
andauthored
Update adafruit_wiznet5k/adafruit_wiznet5k.py
Co-authored-by: Mark <[email protected]>
1 parent ec91aff commit 8179adc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_wiznet5k/adafruit_wiznet5k.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ def __init__(
180180
# to avoid the code during DHCP - assert self.link_status, "Ethernet cable disconnected!"
181181
while True:
182182
time.sleep(1)
183-
print("My Link is:", self.link_status)
183+
if self._debug:
184+
print("My Link is:", self.link_status)
184185
if self.link_status: break
185186

186187
# Set DHCP

0 commit comments

Comments
 (0)