From 9b52fee21371fbfccdcee1b268b13fead41fb588 Mon Sep 17 00:00:00 2001
From: Joel Bodenmann <joel@embedded.pro>
Date: Tue, 29 Aug 2017 09:21:26 +0200
Subject: Temporary fix for unknown osFeature_Semaphore value (needs fixing!)

---
 src/gos/gos_cmsis2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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
-- 
cgit v1.2.3