Update IRQ priorities.

This commit is contained in:
iabdalkader 2021-05-24 21:23:50 +02:00
parent 57f0a8228c
commit cda08226ba
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