aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_cmsis.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_cmsis.h')
-rw-r--r--src/gos/gos_cmsis.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gos/gos_cmsis.h b/src/gos/gos_cmsis.h
index d263feb6..85aa1362 100644
--- a/src/gos/gos_cmsis.h
+++ b/src/gos/gos_cmsis.h
@@ -42,8 +42,9 @@ typedef osPriority threadpriority_t;
#define HIGH_PRIORITY osPriorityHigh
typedef struct gfxSem {
- uint32_t semaphore[2];
- osSemaphoreId id;
+ uint32_t semaphore[2];
+ osSemaphoreId id;
+ semcount_t available;
} gfxSem;
typedef struct gfxMutex {