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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/gos_cmsis.h b/src/gos/gos_cmsis.h
index a0833c07..d263feb6 100644
--- a/src/gos/gos_cmsis.h
+++ b/src/gos/gos_cmsis.h
@@ -42,12 +42,12 @@ typedef osPriority threadpriority_t;
#define HIGH_PRIORITY osPriorityHigh
typedef struct gfxSem {
- osSemaphoreDef_t def;
+ uint32_t semaphore[2];
osSemaphoreId id;
} gfxSem;
typedef struct gfxMutex {
- osMutexDef_t def;
+ uint32_t mutex[4];
osMutexId id;
} gfxMutex;