summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/common/up_unblocktask.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/common/up_unblocktask.c')
-rw-r--r--nuttx/arch/arm/src/common/up_unblocktask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/common/up_unblocktask.c b/nuttx/arch/arm/src/common/up_unblocktask.c
index 32176f152..6f7afab7b 100644
--- a/nuttx/arch/arm/src/common/up_unblocktask.c
+++ b/nuttx/arch/arm/src/common/up_unblocktask.c
@@ -102,7 +102,7 @@ void up_unblock_task(_TCB *tcb)
*/
#if CONFIG_RR_INTERVAL > 0
- tcb->timeslice = CONFIG_RR_INTERVAL / MSEC_PER_SEC;
+ tcb->timeslice = CONFIG_RR_INTERVAL / MSEC_PER_TICK;
#endif
/* Add the task in the correct location in the prioritized