summaryrefslogtreecommitdiff
path: root/shared-module/wiznet/wiznet5k.h
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2019-05-02 14:41:37 +1000
committerNick Moore <nick@zoic.org>2019-05-02 16:05:33 +1000
commit09d0e99d5b60e5cbb2ccb0493dff2b516f2ee3eb (patch)
tree0f50e055da7ddb50bb298c12102b85514c52aef9 /shared-module/wiznet/wiznet5k.h
parent09b83e96b3032b0f99193fbf6e5fe40b3471ed0a (diff)
assign variable socket number to DHCP
Diffstat (limited to 'shared-module/wiznet/wiznet5k.h')
-rw-r--r--shared-module/wiznet/wiznet5k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/wiznet/wiznet5k.h b/shared-module/wiznet/wiznet5k.h
index 1284a44fd..09f83df66 100644
--- a/shared-module/wiznet/wiznet5k.h
+++ b/shared-module/wiznet/wiznet5k.h
@@ -39,7 +39,7 @@ typedef struct _wiznet5k_obj_t {
digitalio_digitalinout_obj_t cs;
digitalio_digitalinout_obj_t rst;
uint8_t socket_used;
- bool dhcp_active;
+ int8_t dhcp_socket;
} wiznet5k_obj_t;
int wiznet5k_gethostbyname(mp_obj_t nic, const char *name, mp_uint_t len, uint8_t *out_ip);