Skip to content

Commit

Permalink
Merge branch 'main' into convert-to-socketpool
Browse files Browse the repository at this point in the history
  • Loading branch information
justmobilize committed Apr 28, 2024
2 parents fae2755 + 4c35a79 commit e1c0ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_wiznet5k/adafruit_wiznet5k_socketpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def __exit__(self, exc_type, exc_val, exc_tb) -> None:
self._interface.release_socket(self._socknum)
if self._sock_type == SocketPool.SOCK_STREAM:
self._interface.write_snir(
self._socknum, 0xFF
self._socknum, 0xFF & (~wiznet5k.adafruit_wiznet5k.SNIR_DISCON)
) # Reset socket interrupt register.
self._interface.socket_disconnect(self._socknum)
mask = (
Expand Down

0 comments on commit e1c0ac7

Please sign in to comment.