Skip to content
This repository was archived by the owner on Jan 7, 2019. It is now read-only.

Commit 65c2bc0

Browse files
authored
Init pointer to NULL
1 parent 0656036 commit 65c2bc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Ethernet2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class EthernetClass {
2929
static uint8_t _state[MAX_SOCK_NUM];
3030
static uint16_t _server_port[MAX_SOCK_NUM];
3131

32-
EthernetClass() { w5500_cspin = 10; }
32+
EthernetClass() { _dhcp = NULL; w5500_cspin = 10; }
3333
void init(uint8_t _cspin = 10) { w5500_cspin = _cspin; }
3434

3535
#if defined(WIZ550io_WITH_MACADDRESS)

0 commit comments

Comments
 (0)