mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 14:25:25 +00:00
3rd time is a charm. Max is right, the initial priority setting should be NVIC_SYSH_PRIORITY_MIN
This commit is contained in:
parent
1366ce0a02
commit
2ec0ab3b5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue