aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_rules.h')
-rw-r--r--src/gos/gos_rules.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gos/gos_rules.h b/src/gos/gos_rules.h
index d2e64ff1..1a0cf760 100644
--- a/src/gos/gos_rules.h
+++ b/src/gos/gos_rules.h
@@ -17,11 +17,7 @@
#define _GOS_RULES_H
#if !GFX_USE_OS_CHIBIOS && !GFX_USE_OS_WIN32 && !GFX_USE_OS_LINUX && !GFX_USE_OS_OSX && !GFX_USE_OS_RAW32 && !GFX_USE_OS_FREERTOS && !GFX_USE_OS_ECOS && !GFX_USE_OS_RAWRTOS && !GFX_USE_OS_ARDUINO && !GFX_USE_OS_CMSIS && !GFX_USE_OS_KEIL && !GFX_USE_OS_NIOS
- #if GFX_DISPLAY_RULE_WARNINGS
- #warning "GOS: No Operating System has been defined. ChibiOS (GFX_USE_OS_CHIBIOS) has been turned on for you."
- #endif
- #undef GFX_USE_OS_CHIBIOS
- #define GFX_USE_OS_CHIBIOS TRUE
+ #error "GOS: No operating system has been defined."
#endif
#if GFX_USE_OS_CHIBIOS + GFX_USE_OS_WIN32 + GFX_USE_OS_LINUX + GFX_USE_OS_OSX + GFX_USE_OS_RAW32 + GFX_USE_OS_FREERTOS + GFX_USE_OS_ECOS + GFX_USE_OS_RAWRTOS + GFX_USE_OS_ARDUINO + GFX_USE_OS_CMSIS + GFX_USE_OS_KEIL + GFX_USE_OS_NIOS != 1 * TRUE