aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2017-08-29 09:21:26 +0200
committerJoel Bodenmann <joel@embedded.pro>2017-08-29 09:21:26 +0200
commit9b52fee21371fbfccdcee1b268b13fead41fb588 (patch)
tree5c41238c1f29ecccd134422a79d259faea344e38 /src
parentb1124c3011bd3ca9a1b77e90395534e22b0b08ce (diff)
downloaduGFX-9b52fee21371fbfccdcee1b268b13fead41fb588.tar.gz
uGFX-9b52fee21371fbfccdcee1b268b13fead41fb588.tar.bz2
uGFX-9b52fee21371fbfccdcee1b268b13fead41fb588.zip
Temporary fix for unknown osFeature_Semaphore value (needs fixing!)
Diffstat (limited to 'src')
-rw-r--r--src/gos/gos_cmsis2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gos_cmsis2.h b/src/gos/gos_cmsis2.h
index 06d5da04..8a54491b 100644
--- a/src/gos/gos_cmsis2.h
+++ b/src/gos/gos_cmsis2.h
@@ -36,7 +36,7 @@ typedef uint16_t semcount_t;
typedef void threadreturn_t;
typedef osPriority_t threadpriority_t;
-#define MAX_SEMAPHORE_COUNT osFeature_Semaphore
+#define MAX_SEMAPHORE_COUNT 65535UL
#define LOW_PRIORITY osPriorityLow
#define NORMAL_PRIORITY osPriorityNormal
#define HIGH_PRIORITY osPriorityHigh