stm32/irq: Fix typo in comment about priorities.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
70b60fe24e
commit
bfcaf39197
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ static inline void restore_irq_pri(uint32_t state) {
|
||||||
//
|
//
|
||||||
// The default priority grouping is set to NVIC_PRIORITYGROUP_4 in the
|
// The default priority grouping is set to NVIC_PRIORITYGROUP_4 in the
|
||||||
// HAL_Init function. This corresponds to 4 bits for the priority field
|
// HAL_Init function. This corresponds to 4 bits for the priority field
|
||||||
// and 0 bits for the sub-priority field (which means that for all intensive
|
// and 0 bits for the sub-priority field (which means that for all intents
|
||||||
// purposes that the sub-priorities below are ignored).
|
// and purposes, the sub-priorities below are ignored).
|
||||||
//
|
//
|
||||||
// While a given interrupt is being processed, only higher priority (lower number)
|
// While a given interrupt is being processed, only higher priority (lower number)
|
||||||
// interrupts will preempt a given interrupt. If sub-priorities are active
|
// interrupts will preempt a given interrupt. If sub-priorities are active
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue