aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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