diff options
Diffstat (limited to 'nuttx/arch/dm320')
-rw-r--r-- | nuttx/arch/dm320/src/up_unblocktask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/dm320/src/up_unblocktask.c b/nuttx/arch/dm320/src/up_unblocktask.c index 15efb7a47..c17760b87 100644 --- a/nuttx/arch/dm320/src/up_unblocktask.c +++ b/nuttx/arch/dm320/src/up_unblocktask.c @@ -100,7 +100,7 @@ void up_unblock_task(_TCB *tcb) */ #if CONFIG_RR_INTERVAL > 0 - tcb->timeslice = CONFIG_RR_INTERVAL; + tcb->timeslice = CONFIG_RR_INTERVAL / MSEC_PER_SEC; #endif /* Add the task in the correct location in the prioritized |