diff --git a/arch/arm/src/armv7-m/up_initialstate.c b/arch/arm/src/armv7-m/up_initialstate.c index 55d4bd315a..e7f7ef7fdb 100644 --- a/arch/arm/src/armv7-m/up_initialstate.c +++ b/arch/arm/src/armv7-m/up_initialstate.c @@ -157,7 +157,7 @@ void up_initial_state(struct tcb_s *tcb) #else /* CONFIG_SUPPRESS_INTERRUPTS */ #ifdef CONFIG_ARMV7M_USEBASEPRI - xcp->regs[REG_BASEPRI] = NVIC_SYSH_PRIORITY_DEFAULT; + xcp->regs[REG_BASEPRI] = NVIC_SYSH_PRIORITY_MIN; #endif #endif /* CONFIG_SUPPRESS_INTERRUPTS */