diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-19 22:25:21 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-19 22:25:21 +0200 |
commit | 32eae604223e53838eae8b69593c73e5c445975b (patch) | |
tree | 76b9dbfa4f4734ac256e61d2a26f5b57212157fc /src/gos | |
parent | 16d1323d59ebf30909222a2d663c4c1f52de8362 (diff) | |
download | uGFX-32eae604223e53838eae8b69593c73e5c445975b.tar.gz uGFX-32eae604223e53838eae8b69593c73e5c445975b.tar.bz2 uGFX-32eae604223e53838eae8b69593c73e5c445975b.zip |
Compiler warnings
Diffstat (limited to 'src/gos')
-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 */ |