summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_getprioritymax.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-10 22:02:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-10 22:02:19 +0000
commit76ae5226bee0a119ea0866e784d97ef6203c5f0c (patch)
tree6e37498c517ae55ef5a58ce6d6e1fae386f244a6 /nuttx/sched/sched_getprioritymax.c
parent2d0ce7d83a5ee93070da059aa3d6ce85c970c7a4 (diff)
downloadpx4-nuttx-76ae5226bee0a119ea0866e784d97ef6203c5f0c.tar.gz
px4-nuttx-76ae5226bee0a119ea0866e784d97ef6203c5f0c.tar.bz2
px4-nuttx-76ae5226bee0a119ea0866e784d97ef6203c5f0c.zip
Misc NSH enhancements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@813 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_getprioritymax.c')
-rw-r--r--nuttx/sched/sched_getprioritymax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sched_getprioritymax.c b/nuttx/sched/sched_getprioritymax.c
index 6c1125c07..683d27660 100644
--- a/nuttx/sched/sched_getprioritymax.c
+++ b/nuttx/sched/sched_getprioritymax.c
@@ -90,7 +90,7 @@
int sched_get_priority_max(int policy)
{
- if (policy != SCHED_FIFO)
+ if (policy != SCHED_FIFO && policy != SCHED_RR)
{
return ERROR;
}