Skip to content

Commit 8217dc3

Browse files
committed
change default mac to string.
1 parent 7e26cfc commit 8217dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_wiznet5k/adafruit_wiznet5k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
_MAX_PACKET = const(4000)
166166
_LOCAL_PORT = const(0x400)
167167
# Default hardware MAC address
168-
_DEFAULT_MAC = (0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED)
168+
_DEFAULT_MAC = "DE:AD:BE:EF:FE:ED"
169169

170170
# Maximum number of sockets to support, differs between chip versions.
171171
_MAX_SOCK_NUM = {"w5100s": const(0x04), "w5500": const(0x08), "w6100": const(0x08)}

0 commit comments

Comments
 (0)