diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-27 17:22:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-27 17:22:32 +0000 |
commit | 8cad4a664b6745ba30bcc8c08c8754f6a51a6383 (patch) | |
tree | c2c1cc1fbbc2e174f3292241646d37978fb1e8ca /nuttx/sched/work_thread.c | |
parent | 3c20b3a3cde677efa2963609d44954bfaf9c19a1 (diff) | |
download | px4-firmware-8cad4a664b6745ba30bcc8c08c8754f6a51a6383.tar.gz px4-firmware-8cad4a664b6745ba30bcc8c08c8754f6a51a6383.tar.bz2 px4-firmware-8cad4a664b6745ba30bcc8c08c8754f6a51a6383.zip |
Fix backward conditional compilation in work_queue.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5394 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/work_thread.c')
-rw-r--r-- | nuttx/sched/work_thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/work_thread.c b/nuttx/sched/work_thread.c index abd86f771..5646b06a1 100644 --- a/nuttx/sched/work_thread.c +++ b/nuttx/sched/work_thread.c @@ -208,10 +208,10 @@ int work_hpthread(int argc, char *argv[]) * that were queued because they could not be freed in that execution * context (for example, if the memory was freed from an interrupt handler). * NOTE: If the work thread is disabled, this clean-up is performed by - * the IDLE thread (at a very, very lower priority). + * the IDLE thread (at a very, very low priority). */ -#ifdef CONFIG_SCHED_LPWORK +#ifndef CONFIG_SCHED_LPWORK sched_garbagecollection(); #endif @@ -236,7 +236,7 @@ int work_lpthread(int argc, char *argv[]) * that were queued because they could not be freed in that execution * context (for example, if the memory was freed from an interrupt handler). * NOTE: If the work thread is disabled, this clean-up is performed by - * the IDLE thread (at a very, very lower priority). + * the IDLE thread (at a very, very low priority). */ sched_garbagecollection(); |