diff options
| author | Nick Moore <nick@zoic.org> | 2019-05-10 13:55:45 +1000 |
|---|---|---|
| committer | Nick Moore <nick@zoic.org> | 2019-05-10 13:55:45 +1000 |
| commit | af0bba062275cd06577018e276ebe6c5ee0428ce (patch) | |
| tree | a354dd55a4869248ebfa4ca8282bb20fda62cd35 /shared-module/network/__init__.h | |
| parent | e00a702ce9df8109e15e5268ee3fb41df2902681 (diff) | |
reset wiznet at network deinitialize adafruit/circuitpython#1800
Diffstat (limited to 'shared-module/network/__init__.h')
| -rw-r--r-- | shared-module/network/__init__.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-module/network/__init__.h b/shared-module/network/__init__.h index 00a3c3957..504065979 100644 --- a/shared-module/network/__init__.h +++ b/shared-module/network/__init__.h @@ -62,6 +62,7 @@ typedef struct _mod_network_nic_type_t { int (*settimeout)(struct _mod_network_socket_obj_t *socket, mp_uint_t timeout_ms, int *_errno); int (*ioctl)(struct _mod_network_socket_obj_t *socket, mp_uint_t request, mp_uint_t arg, int *_errno); void (*timer_tick)(struct _mod_network_socket_obj_t *socket); + void (*deinit)(struct _mod_network_socket_obj_t *socket); } mod_network_nic_type_t; typedef struct _mod_network_socket_obj_t { |
