mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
commit
d7bc239aea
@ -1 +1 @@
|
|||||||
Subproject commit 80a3c5cdd6d14c35433c055074af0c2351944c1a
|
Subproject commit e439f36bc8551c38086ecac8bc2d052e8a30d813
|
||||||
@ -771,12 +771,12 @@ soft_reset:
|
|||||||
systick_disable_dispatch(SYSTICK_DISPATCH_LWIP);
|
systick_disable_dispatch(SYSTICK_DISPATCH_LWIP);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Disable all other IRQs except Systick and Flash IRQs
|
|
||||||
// Note: FS IRQ is disable, since we're going for a soft-reset.
|
|
||||||
irq_set_base_priority(IRQ_PRI_FLASH+1);
|
|
||||||
|
|
||||||
// soft reset
|
// soft reset
|
||||||
storage_flush();
|
storage_flush();
|
||||||
|
|
||||||
|
// Disable all other IRQs except Systick
|
||||||
|
irq_set_base_priority(IRQ_PRI_SYSTICK+1);
|
||||||
|
|
||||||
#if MICROPY_PY_BLUETOOTH
|
#if MICROPY_PY_BLUETOOTH
|
||||||
mp_bluetooth_deinit();
|
mp_bluetooth_deinit();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user