aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_chibios.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_chibios.c')
-rw-r--r--src/gos/gos_chibios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gos_chibios.c b/src/gos/gos_chibios.c
index 62f5d8ee..4c79bd3d 100644
--- a/src/gos/gos_chibios.c
+++ b/src/gos/gos_chibios.c
@@ -48,7 +48,7 @@ void _gosInit(void)
chSysInit();
}
#endif
- #else
+ #elif !GFX_OS_INIT_NO_WARNING
#warning "GOS: Operating System initialization has been turned off. Make sure you call halInit() and chSysInit() before gfxInit() in your application!"
#endif
}