Compiler warnings
This commit is contained in:
parent
16d1323d59
commit
32eae60422
1 changed files with 7 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue