diff options
Diffstat (limited to 'nuttx/sched/pthread_create.c')
-rw-r--r-- | nuttx/sched/pthread_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/pthread_create.c b/nuttx/sched/pthread_create.c index 8247ed78e..058541126 100644 --- a/nuttx/sched/pthread_create.c +++ b/nuttx/sched/pthread_create.c @@ -365,7 +365,7 @@ int pthread_create(pthread_t *thread, pthread_attr_t *attr, if (policy == SCHED_RR) { ptcb->flags |= TCB_FLAG_ROUND_ROBIN; - ptcb->timeslice = CONFIG_RR_INTERVAL; + ptcb->timeslice = CONFIG_RR_INTERVAL / MSEC_PER_TICK; } #endif |