diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-26 19:31:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-26 19:31:38 +0000 |
commit | 503ba396598ab1d5ce6f336cd3543d32d6aacbaa (patch) | |
tree | 050500a59cf371533c4f88007b1017c0f6359a59 | |
parent | a0fcefa90d39c5510c3f62bdbd3f2f128f211d6b (diff) | |
download | px4-nuttx-503ba396598ab1d5ce6f336cd3543d32d6aacbaa.tar.gz px4-nuttx-503ba396598ab1d5ce6f336cd3543d32d6aacbaa.tar.bz2 px4-nuttx-503ba396598ab1d5ce6f336cd3543d32d6aacbaa.zip |
typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@253 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/arm/src/common/up_unblocktask.c | 2 | ||||
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_unblocktask.c | 3 | ||||
-rw-r--r-- | nuttx/arch/sim/src/up_unblocktask.c | 3 |
3 files changed, 5 insertions, 3 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 diff --git a/nuttx/arch/pjrc-8051/src/up_unblocktask.c b/nuttx/arch/pjrc-8051/src/up_unblocktask.c index 2f242fe0f..76bc693c9 100644 --- a/nuttx/arch/pjrc-8051/src/up_unblocktask.c +++ b/nuttx/arch/pjrc-8051/src/up_unblocktask.c @@ -42,6 +42,7 @@ #include <sched.h> #include <debug.h> #include <nuttx/arch.h> +#include "clock_internal.h" #include "os_internal.h" #include "up_internal.h" @@ -101,7 +102,7 @@ void up_unblock_task(FAR _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 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 <sched.h> #include <debug.h> #include <nuttx/arch.h> +#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 |