mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
ports/stm32: Disable lwip dispatch first before deinit.
This commit is contained in:
parent
ed5d16fd29
commit
2f34ee486b
@ -633,13 +633,15 @@ soft_reset:
|
||||
// Disable all other IRQs except Systick
|
||||
irq_set_base_priority(IRQ_PRI_SYSTICK+1);
|
||||
|
||||
#if MICROPY_PY_BLUETOOTH
|
||||
mp_bluetooth_deinit();
|
||||
#endif
|
||||
#if MICROPY_PY_LWIP
|
||||
systick_disable_dispatch(SYSTICK_DISPATCH_LWIP);
|
||||
#endif
|
||||
#if MICROPY_PY_BLUETOOTH
|
||||
mp_bluetooth_deinit();
|
||||
#endif
|
||||
#if MICROPY_PY_NETWORK
|
||||
mod_network_deinit();
|
||||
#endif
|
||||
timer_deinit();
|
||||
i2c_deinit_all();
|
||||
spi_deinit_all();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user