Clean up list of NICs on network deinit adafruit/circuitpython#1800
This commit is contained in:
parent
d97c81b0c9
commit
24934a1e8a
|
@ -43,6 +43,7 @@ void network_module_init(void) {
|
|||
}
|
||||
|
||||
void network_module_deinit(void) {
|
||||
mp_obj_list_set_len(&MP_STATE_PORT(mod_network_nic_list), 0);
|
||||
}
|
||||
|
||||
void network_module_background(void) {
|
||||
|
|
Loading…
Reference in New Issue