We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63bf8f7 commit 06c2ea1Copy full SHA for 06c2ea1
adafruit_wiznet5k/adafruit_wiznet5k.py
@@ -1094,7 +1094,7 @@ def socket_write(
1094
raise RuntimeError("Socket closed before data was sent.")
1095
if timeout and time.monotonic() - stamp > timeout:
1096
raise RuntimeError("Operation timed out. No data sent.")
1097
- if self.read_snir(socket_num)[0] & _SNIR_TIMEOUT:
+ if self.read_snir(socket_num)[0] & SNIR_TIMEOUT:
1098
raise TimeoutError(
1099
"Hardware timeout while sending on socket {}.".format(socket_num)
1100
)
0 commit comments