diff options
Diffstat (limited to 'nuttx/arch/mips/src/mips32/up_unblocktask.c')
-rw-r--r-- | nuttx/arch/mips/src/mips32/up_unblocktask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/mips32/up_unblocktask.c b/nuttx/arch/mips/src/mips32/up_unblocktask.c index 277ec79cf..dab958b15 100644 --- a/nuttx/arch/mips/src/mips32/up_unblocktask.c +++ b/nuttx/arch/mips/src/mips32/up_unblocktask.c @@ -99,7 +99,7 @@ void up_unblock_task(struct tcb_s *tcb) */ #if CONFIG_RR_INTERVAL > 0 - tcb->timeslice = CONFIG_RR_INTERVAL / MSEC_PER_TICK; + tcb->timeslice = MSEC2TICK(CONFIG_RR_INTERVAL); #endif /* Add the task in the correct location in the prioritized |