aboutsummaryrefslogtreecommitdiffstats
path: root/include/gos
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-12-21 15:11:48 +1000
committerinmarket <andrewh@inmarket.com.au>2013-12-21 15:11:48 +1000
commit225aa27233242281452aa30e07475374a9d6bc55 (patch)
tree0d21874d2d7dda8b3abdabbc97c09e29554f232b /include/gos
parenta68dfd9cbef1c91b22910ecd1be7c47d1da879e1 (diff)
downloaduGFX-225aa27233242281452aa30e07475374a9d6bc55.tar.gz
uGFX-225aa27233242281452aa30e07475374a9d6bc55.tar.bz2
uGFX-225aa27233242281452aa30e07475374a9d6bc55.zip
GOS Raw32 semaphore fix
Diffstat (limited to 'include/gos')
-rw-r--r--include/gos/raw32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gos/raw32.h b/include/gos/raw32.h
index 155c0b1c..eb5b5e18 100644
--- a/include/gos/raw32.h
+++ b/include/gos/raw32.h
@@ -66,7 +66,7 @@ typedef int threadpriority_t;
#define TIME_IMMEDIATE 0
#define TIME_INFINITE ((delaytime_t)-1)
-#define MAX_SEMAPHORE_COUNT ((semcount_t)(((unsigned long)((semcount_t)(-1))) >> 1))
+#define MAX_SEMAPHORE_COUNT 0x7FFF
#define LOW_PRIORITY 0
#define NORMAL_PRIORITY 1
#define HIGH_PRIORITY 2