From 503ba396598ab1d5ce6f336cd3543d32d6aacbaa Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 26 May 2007 19:31:38 +0000 Subject: typos git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@253 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/sim/src/up_unblocktask.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nuttx/arch/sim') diff --git a/nuttx/arch/sim/src/up_unblocktask.c b/nuttx/arch/sim/src/up_unblocktask.c index b17fd4d48..bf25a14a5 100644 --- a/nuttx/arch/sim/src/up_unblocktask.c +++ b/nuttx/arch/sim/src/up_unblocktask.c @@ -42,6 +42,7 @@ #include #include #include +#include "clock_internal.h" #include "os_internal.h" #include "up_internal.h" @@ -100,7 +101,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 -- cgit v1.2.3