summaryrefslogtreecommitdiff
path: root/nuttx/arch/hc/src/common/up_reprioritizertr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/hc/src/common/up_reprioritizertr.c')
-rw-r--r--nuttx/arch/hc/src/common/up_reprioritizertr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/hc/src/common/up_reprioritizertr.c b/nuttx/arch/hc/src/common/up_reprioritizertr.c
index d9689a0f3..ee8ed4e3c 100644
--- a/nuttx/arch/hc/src/common/up_reprioritizertr.c
+++ b/nuttx/arch/hc/src/common/up_reprioritizertr.c
@@ -69,7 +69,7 @@
*
* Description:
* Called when the priority of a running or
- * ready-to-run task changes and the reprioritization will
+ * ready-to-run task changes and the reprioritization will
* cause a context switch. Two cases:
*
* 1) The priority of the currently running task drops and the next
@@ -152,7 +152,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
up_savestate(rtcb->xcp.regs);
- /* Restore the exception context of the rtcb at the (new) head
+ /* Restore the exception context of the rtcb at the (new) head
* of the g_readytorun task list.
*/
@@ -171,7 +171,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
else if (!up_saveusercontext(rtcb->xcp.regs))
{
- /* Restore the exception context of the rtcb at the (new) head
+ /* Restore the exception context of the rtcb at the (new) head
* of the g_readytorun task list.
*/