summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2023-05-11 19:11:34 +0200
committerDamien George <damien@micropython.org>2023-05-19 22:23:33 +1000
commitbfcaf391977cc65c47a026b4ab890590a696e15e (patch)
treed2e9e9b7cbcac70a53973317bad16e8118e1d1e8
parent70b60fe24edce3ea4ef57ebd294ca4323c10c041 (diff)
stm32/irq: Fix typo in comment about priorities.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
-rw-r--r--ports/stm32/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/irq.h b/ports/stm32/irq.h
index 6c10f5e1b..8e98b4cc5 100644
--- a/ports/stm32/irq.h
+++ b/ports/stm32/irq.h
@@ -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
// 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
-// purposes that the sub-priorities below are ignored).
+// and 0 bits for the sub-priority field (which means that for all intents
+// and purposes, the sub-priorities below are ignored).
//
// While a given interrupt is being processed, only higher priority (lower number)
// interrupts will preempt a given interrupt. If sub-priorities are active