Merge pull request #1340 from openmv/irq_fixes

Update IRQ priorities.
This commit is contained in:
Ibrahim Abd Elkader 2021-05-24 22:07:44 +02:00 committed by GitHub
commit d7bc239aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 80a3c5cdd6d14c35433c055074af0c2351944c1a
Subproject commit e439f36bc8551c38086ecac8bc2d052e8a30d813

View File

@ -771,12 +771,12 @@ soft_reset:
systick_disable_dispatch(SYSTICK_DISPATCH_LWIP);
#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
storage_flush();
// Disable all other IRQs except Systick
irq_set_base_priority(IRQ_PRI_SYSTICK+1);
#if MICROPY_PY_BLUETOOTH
mp_bluetooth_deinit();
#endif