Compiler warnings

This commit is contained in:
Joel Bodenmann 2015-10-19 22:25:21 +02:00
parent 16d1323d59
commit 32eae60422

View File

@ -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 */