diff options
Diffstat (limited to 'src/gos/gos_keil.h')
-rw-r--r-- | src/gos/gos_keil.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gos/gos_keil.h b/src/gos/gos_keil.h index 84530d16..863986d4 100644 --- a/src/gos/gos_keil.h +++ b/src/gos/gos_keil.h @@ -18,9 +18,14 @@ /* * Keil RTX uses the CMSIS RTOS interface. Therefore, just use the CMSIS RTOS port */ -#define GFX_USE_OS_KEIL FALSE // Disable KEIL to avoid error: "GOS: More than one operation system has been defined as TRUE." -#define GFX_USE_OS_CMSIS TRUE +// Disable KEIL to avoid error: "GOS: More than one operation system has been defined as TRUE." +#undef GFX_USE_OS_KEIL +#define GFX_USE_OS_KEIL FALSE + +// Enable generic CMSIS RTOS implementation +#undef GFX_USE_OS_CMSIS +#define GFX_USE_OS_CMSIS TRUE #include "gos_cmsis.h" #endif /* GFX_USE_OS_KEIL */ |