From 47752a35c1bd5e92ef584208ed3b9262ebf92079 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 24 Jul 2014 16:51:07 -0600 Subject: [PATCH] 3rd time is a charm. Max is right, the initial priority setting should be NVIC_SYSH_PRIORITY_MIN --- arch/arm/src/armv7-m/up_initialstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */